gameServer/hedgewars-server.cabal
author unC0Rr
Mon, 13 Feb 2023 11:00:12 +0100
branchtransitional_engine
changeset 15921 5f00829c55ec
parent 15889 eb52cf05e454
child 15985 e42d1819b150
permissions -rw-r--r--
Refactor landgen package structure
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,
15889
eb52cf05e454 GameServer: bump network dependency
Sergey Alirzaev <zl29ah@gmail.com>
parents: 15699
diff changeset
    25
    network >= 2.3 && < 3.2,
eb52cf05e454 GameServer: bump network dependency
Sergey Alirzaev <zl29ah@gmail.com>
parents: 15699
diff changeset
    26
    network-bsd >= 2.8.1 && < 2.9,
9065
236710128077 add 'random' dependency to server .cabal file (please test)
koda
parents: 7751
diff changeset
    27
    random,
4842
65eae3df18ac readding cabal file for the server, burp not shure why it had gone
Henek
parents:
diff changeset
    28
    time,
5037
1edc06d2247c Fix ghost players (used Prelude.catch instead of Control.Exception.catch)
unc0rr
parents: 5030
diff changeset
    29
    mtl >= 2,
11855
ad435d95ca4b - Use sandi instead of dataenc (bugs.debian.org/836686)
unc0rr
parents: 11854
diff changeset
    30
    sandi,
4842
65eae3df18ac readding cabal file for the server, burp not shure why it had gone
Henek
parents:
diff changeset
    31
    hslogger,
65eae3df18ac readding cabal file for the server, burp not shure why it had gone
Henek
parents:
diff changeset
    32
    process,
6191
190a8e5d9956 Case-insensitive comparison of nicks
unc0rr
parents: 5086
diff changeset
    33
    deepseq,
10076
b235e520ea21 Mutual authentication: server side
unc0rr
parents: 10046
diff changeset
    34
    utf8-string,
b235e520ea21 Mutual authentication: server side
unc0rr
parents: 10046
diff changeset
    35
    SHA,
10092
a92a4ba39a79 Fix build
unc0rr
parents: 10076
diff changeset
    36
    entropy,
13672
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13506
diff changeset
    37
    zlib >= 0.5.3 && < 0.7,
12864
73ebc894a725 dependency fixes
astro
parents: 12788
diff changeset
    38
    regex-tdfa,
13418
bb24c3414b0d Store saved room in yaml
unc0rr
parents: 12864
diff changeset
    39
    binary >= 0.8.5.1,
14320
f081a984da28 Fix gameServer dependency documentation
Wuzzy <Wuzzy2@mail.ru>
parents: 13714
diff changeset
    40
f081a984da28 Fix gameServer dependency documentation
Wuzzy <Wuzzy2@mail.ru>
parents: 13714
diff changeset
    41
-- These dependencies are for OFFICIAL_SERVER only and do not need to be mentioned in docs
13418
bb24c3414b0d Store saved room in yaml
unc0rr
parents: 12864
diff changeset
    42
    yaml >= 0.8.30,
bb24c3414b0d Store saved room in yaml
unc0rr
parents: 12864
diff changeset
    43
    aeson,
bb24c3414b0d Store saved room in yaml
unc0rr
parents: 12864
diff changeset
    44
    text >= 1.2
4597
31e042ab870c Finally a solution for excess lazyness when working with unsafeThaw'ed arrays
unc0rr
parents: 3671
diff changeset
    45
10258
4b7aa967f1e7 fix cabal build (on linux)
sheepluva
parents: 10257
diff changeset
    46
  if !os(windows)
4b7aa967f1e7 fix cabal build (on linux)
sheepluva
parents: 10257
diff changeset
    47
    build-depends: unix
4b7aa967f1e7 fix cabal build (on linux)
sheepluva
parents: 10257
diff changeset
    48
4597
31e042ab870c Finally a solution for excess lazyness when working with unsafeThaw'ed arrays
unc0rr
parents: 3671
diff changeset
    49
  ghc-options: -O2
13672
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
Executable checker
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13506
diff changeset
    52
  main-is: OfficialServer/checker.hs
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13506
diff changeset
    53
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13506
diff changeset
    54
  default-language:    Haskell2010
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13506
diff changeset
    55
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13506
diff changeset
    56
  Build-depends:
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13506
diff changeset
    57
    base >= 4.8,
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13506
diff changeset
    58
    containers,
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13506
diff changeset
    59
    vector,
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13506
diff changeset
    60
    bytestring,
15699
27eb5abd5058 update server network
Jens Petersen
parents: 14970
diff changeset
    61
    network >= 2.3,
27eb5abd5058 update server network
Jens Petersen
parents: 14970
diff changeset
    62
    network-bsd,
13672
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13506
diff changeset
    63
    mtl >= 2,
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13506
diff changeset
    64
    sandi,
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13506
diff changeset
    65
    hslogger,
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13506
diff changeset
    66
    process,
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13506
diff changeset
    67
    ConfigFile,
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13506
diff changeset
    68
    directory
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13506
diff changeset
    69
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13506
diff changeset
    70
  if !os(windows)
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13506
diff changeset
    71
    build-depends: unix
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13506
diff changeset
    72
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13506
diff changeset
    73
  ghc-options: -O2
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13506
diff changeset
    74
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13506
diff changeset
    75
8bd973ab9c9c - Add checker dependencies to hedgewars-server.cabal
unc0rr
parents: 13506
diff changeset
    76