summaryrefslogtreecommitdiff
path: root/libraries/libiserv/libiserv.cabal.in
blob: 84471a222d79c225e622b57716a37272de97f370 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
Name: libiserv
Version: @ProjectVersionMunged@
Copyright: XXX
License: BSD3
License-File: LICENSE
Author: XXX
Maintainer: XXX
Synopsis: Provides shared functionality between iserv and iserv-proxy
Description:
Category: Development
build-type: Simple
cabal-version: >=1.10

Flag network
    Description:   Build libiserv with over-the-network support
    Default:       False

Library
    Default-Language: Haskell2010
    Hs-Source-Dirs: src
    Exposed-Modules: Lib
                   , GHCi.Utils
    Build-Depends: base       >= 4   && < 5,
                   binary     >= 0.7 && < 0.11,
                   bytestring >= 0.10 && < 0.11,
                   containers >= 0.5 && < 0.7,
                   deepseq    >= 1.4 && < 1.5,
                   ghci       == 8.6.*
    if flag(network)
       Exposed-Modules: Remote.Message
                      , Remote.Slave
       Build-Depends: network    >= 2.6 && < 2.7,
                      directory  >= 1.3 && < 1.4,
                      filepath   >= 1.4 && < 1.5

    if os(windows)
       Cpp-Options: -DWINDOWS
   else
       Build-Depends: unix   >= 2.7 && < 2.9