gameServer/hedgewars-server.cabal
author Wuzzy <Wuzzy2@mail.ru>
Tue, 04 Sep 2018 16:26:15 +0200
changeset 13759 bef952489e0e
parent 13714 9ea58d0134ad
child 14320 f081a984da28
permissions -rw-r--r--
Remove some bad/inappropriate messages for round draw and crate drop
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
13506
36f3f77e9b1b Switch from http:// to https:// URLs where possible
Wuzzy <Wuzzy2@mail.ru>
parents: 13418
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
11854
0b8f2116aa26 Use regex match for bans
unc0rr
parents: 11838
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
13714
9ea58d0134ad Add missing server dependencies to Travis metadata
Wuzzy <Wuzzy2@mail.ru>
parents: 13672
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:
12788
8aa82e350b8e Update cabal file
unc0rr
parents: 12751
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,
5077
7915668502a6 Some fixes. Can't reproduce ghosts now.
unc0rr
parents: 5037
diff changeset
    25
    network >= 2.3,
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,
11855
ad435d95ca4b - Use sandi instead of dataenc (bugs.debian.org/836686)
unc0rr
parents: 11854
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,
13672
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13506
diff changeset
    36
    zlib >= 0.5.3 && < 0.7,
12864
73ebc894a725 dependency fixes
astro
parents: 12788
diff changeset
    37
    regex-tdfa,
13418
bb24c3414b0d Store saved room in yaml
unc0rr
parents: 12864
diff changeset
    38
    binary >= 0.8.5.1,
bb24c3414b0d Store saved room in yaml
unc0rr
parents: 12864
diff changeset
    39
    yaml >= 0.8.30,
bb24c3414b0d Store saved room in yaml
unc0rr
parents: 12864
diff changeset
    40
    aeson,
bb24c3414b0d Store saved room in yaml
unc0rr
parents: 12864
diff changeset
    41
    text >= 1.2
4597
31e042ab870c Finally a solution for excess lazyness when working with unsafeThaw'ed arrays
unc0rr
parents: 3671
diff changeset
    42
10258
4b7aa967f1e7 fix cabal build (on linux)
sheepluva
parents: 10257
diff changeset
    43
  if !os(windows)
4b7aa967f1e7 fix cabal build (on linux)
sheepluva
parents: 10257
diff changeset
    44
    build-depends: unix
4b7aa967f1e7 fix cabal build (on linux)
sheepluva
parents: 10257
diff changeset
    45
4597
31e042ab870c Finally a solution for excess lazyness when working with unsafeThaw'ed arrays
unc0rr
parents: 3671
diff changeset
    46
  ghc-options: -O2
13672
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13506
diff changeset
    47
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13506
diff changeset
    48
Executable checker
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13506
diff changeset
    49
  main-is: OfficialServer/checker.hs
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13506
diff changeset
    50
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13506
diff changeset
    51
  default-language:    Haskell2010
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13506
diff changeset
    52
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13506
diff changeset
    53
  Build-depends:
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13506
diff changeset
    54
    base >= 4.8,
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13506
diff changeset
    55
    containers,
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13506
diff changeset
    56
    vector,
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13506
diff changeset
    57
    bytestring,
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13506
diff changeset
    58
    network >= 2.3,
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13506
diff changeset
    59
    mtl >= 2,
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13506
diff changeset
    60
    sandi,
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13506
diff changeset
    61
    hslogger,
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13506
diff changeset
    62
    process,
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13506
diff changeset
    63
    ConfigFile,
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13506
diff changeset
    64
    directory
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13506
diff changeset
    65
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13506
diff changeset
    66
  if !os(windows)
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13506
diff changeset
    67
    build-depends: unix
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13506
diff changeset
    68
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13506
diff changeset
    69
  ghc-options: -O2
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13506
diff changeset
    70
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13506
diff changeset
    71
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13506
diff changeset
    72