gameServer/hedgewars-server.cabal
author Wuzzy <Wuzzy2@mail.ru>
Thu, 23 May 2019 08:50:18 +0200
changeset 15038 1bce780e55ac
parent 14975 6b5efc690472
permissions -rw-r--r--
ACF2: Add more isHogAlive checks
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
4842
65eae3df18ac readding cabal file for the server, burp not shure why it had gone
Henek
parents:
diff changeset
     1
Name:                hedgewars-server
65eae3df18ac readding cabal file for the server, burp not shure why it had gone
Henek
parents:
diff changeset
     2
Version:             0.1
65eae3df18ac readding cabal file for the server, burp not shure why it had gone
Henek
parents:
diff changeset
     3
Synopsis:            hedgewars server
65eae3df18ac readding cabal file for the server, burp not shure why it had gone
Henek
parents:
diff changeset
     4
Description:         hedgewars server
13511
36f3f77e9b1b Switch from http:// to https:// URLs where possible
Wuzzy <Wuzzy2@mail.ru>
parents: 13423
diff changeset
     5
Homepage:            https://www.hedgewars.org/
4842
65eae3df18ac readding cabal file for the server, burp not shure why it had gone
Henek
parents:
diff changeset
     6
License:             GPL-2
65eae3df18ac readding cabal file for the server, burp not shure why it had gone
Henek
parents:
diff changeset
     7
Author:              unC0Rr
11859
0b8f2116aa26 Use regex match for bans
unc0rr
parents: 11843
diff changeset
     8
Maintainer:          a.korotaev@hedgewars.org
4842
65eae3df18ac readding cabal file for the server, burp not shure why it had gone
Henek
parents:
diff changeset
     9
Category:            Game
65eae3df18ac readding cabal file for the server, burp not shure why it had gone
Henek
parents:
diff changeset
    10
Build-type:          Simple
10257
649f1231cd70 fix for "Unexpected semi-colons in conditional" issue, as reported by YuGiOhJCJ
sheepluva
parents: 10092
diff changeset
    11
Cabal-version:       >=1.10
4842
65eae3df18ac readding cabal file for the server, burp not shure why it had gone
Henek
parents:
diff changeset
    12
65eae3df18ac readding cabal file for the server, burp not shure why it had gone
Henek
parents:
diff changeset
    13
65eae3df18ac readding cabal file for the server, burp not shure why it had gone
Henek
parents:
diff changeset
    14
Executable hedgewars-server
65eae3df18ac readding cabal file for the server, burp not shure why it had gone
Henek
parents:
diff changeset
    15
  main-is: hedgewars-server.hs
65eae3df18ac readding cabal file for the server, burp not shure why it had gone
Henek
parents:
diff changeset
    16
10257
649f1231cd70 fix for "Unexpected semi-colons in conditional" issue, as reported by YuGiOhJCJ
sheepluva
parents: 10092
diff changeset
    17
  default-language:    Haskell2010
649f1231cd70 fix for "Unexpected semi-colons in conditional" issue, as reported by YuGiOhJCJ
sheepluva
parents: 10092
diff changeset
    18
13719
9ea58d0134ad Add missing server dependencies to Travis metadata
Wuzzy <Wuzzy2@mail.ru>
parents: 13677
diff changeset
    19
-- Don't forget to update INSTALL.md and .travis.yml when you change these dependencies!
4842
65eae3df18ac readding cabal file for the server, burp not shure why it had gone
Henek
parents:
diff changeset
    20
  Build-depends:
12793
8aa82e350b8e Update cabal file
unc0rr
parents: 12756
diff changeset
    21
    base >= 4.8,
4842
65eae3df18ac readding cabal file for the server, burp not shure why it had gone
Henek
parents:
diff changeset
    22
    containers,
7751
8c7f5c43ea5e Switch to vector library for arrays
unc0rr
parents: 6191
diff changeset
    23
    vector,
4842
65eae3df18ac readding cabal file for the server, burp not shure why it had gone
Henek
parents:
diff changeset
    24
    bytestring,
14975
6b5efc690472 Update hedgewars-server.cabal
Anton Malmygin <antonc27@mail.ru>
parents: 14325
diff changeset
    25
    network >= 2.3 && < 3.0,
9065
236710128077 add 'random' dependency to server .cabal file (please test)
koda
parents: 7751
diff changeset
    26
    random,
4842
65eae3df18ac readding cabal file for the server, burp not shure why it had gone
Henek
parents:
diff changeset
    27
    time,
5037
1edc06d2247c Fix ghost players (used Prelude.catch instead of Control.Exception.catch)
unc0rr
parents: 5030
diff changeset
    28
    mtl >= 2,
11860
ad435d95ca4b - Use sandi instead of dataenc (bugs.debian.org/836686)
unc0rr
parents: 11859
diff changeset
    29
    sandi,
4842
65eae3df18ac readding cabal file for the server, burp not shure why it had gone
Henek
parents:
diff changeset
    30
    hslogger,
65eae3df18ac readding cabal file for the server, burp not shure why it had gone
Henek
parents:
diff changeset
    31
    process,
6191
190a8e5d9956 Case-insensitive comparison of nicks
unc0rr
parents: 5086
diff changeset
    32
    deepseq,
10076
b235e520ea21 Mutual authentication: server side
unc0rr
parents: 10046
diff changeset
    33
    utf8-string,
b235e520ea21 Mutual authentication: server side
unc0rr
parents: 10046
diff changeset
    34
    SHA,
10092
a92a4ba39a79 Fix build
unc0rr
parents: 10076
diff changeset
    35
    entropy,
13677
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13511
diff changeset
    36
    zlib >= 0.5.3 && < 0.7,
12869
73ebc894a725 dependency fixes
astro
parents: 12793
diff changeset
    37
    regex-tdfa,
13423
bb24c3414b0d Store saved room in yaml
unc0rr
parents: 12869
diff changeset
    38
    binary >= 0.8.5.1,
14325
f081a984da28 Fix gameServer dependency documentation
Wuzzy <Wuzzy2@mail.ru>
parents: 13719
diff changeset
    39
f081a984da28 Fix gameServer dependency documentation
Wuzzy <Wuzzy2@mail.ru>
parents: 13719
diff changeset
    40
-- These dependencies are for OFFICIAL_SERVER only and do not need to be mentioned in docs
13423
bb24c3414b0d Store saved room in yaml
unc0rr
parents: 12869
diff changeset
    41
    yaml >= 0.8.30,
bb24c3414b0d Store saved room in yaml
unc0rr
parents: 12869
diff changeset
    42
    aeson,
bb24c3414b0d Store saved room in yaml
unc0rr
parents: 12869
diff changeset
    43
    text >= 1.2
4597
31e042ab870c Finally a solution for excess lazyness when working with unsafeThaw'ed arrays
unc0rr
parents: 3671
diff changeset
    44
10258
4b7aa967f1e7 fix cabal build (on linux)
sheepluva
parents: 10257
diff changeset
    45
  if !os(windows)
4b7aa967f1e7 fix cabal build (on linux)
sheepluva
parents: 10257
diff changeset
    46
    build-depends: unix
4b7aa967f1e7 fix cabal build (on linux)
sheepluva
parents: 10257
diff changeset
    47
4597
31e042ab870c Finally a solution for excess lazyness when working with unsafeThaw'ed arrays
unc0rr
parents: 3671
diff changeset
    48
  ghc-options: -O2
13677
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13511
diff changeset
    49
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13511
diff changeset
    50
Executable checker
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13511
diff changeset
    51
  main-is: OfficialServer/checker.hs
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13511
diff changeset
    52
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13511
diff changeset
    53
  default-language:    Haskell2010
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13511
diff changeset
    54
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13511
diff changeset
    55
  Build-depends:
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13511
diff changeset
    56
    base >= 4.8,
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13511
diff changeset
    57
    containers,
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13511
diff changeset
    58
    vector,
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13511
diff changeset
    59
    bytestring,
14975
6b5efc690472 Update hedgewars-server.cabal
Anton Malmygin <antonc27@mail.ru>
parents: 14325
diff changeset
    60
    network >= 2.3 && < 3.0,
13677
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13511
diff changeset
    61
    mtl >= 2,
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13511
diff changeset
    62
    sandi,
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13511
diff changeset
    63
    hslogger,
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13511
diff changeset
    64
    process,
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13511
diff changeset
    65
    ConfigFile,
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13511
diff changeset
    66
    directory
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13511
diff changeset
    67
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13511
diff changeset
    68
  if !os(windows)
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13511
diff changeset
    69
    build-depends: unix
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13511
diff changeset
    70
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13511
diff changeset
    71
  ghc-options: -O2
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13511
diff changeset
    72
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13511
diff changeset
    73
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13511
diff changeset
    74