summaryrefslogtreecommitdiff
path: root/libraries/libiserv/libiserv.cabal.in
blob: 3721a853cc5bac78481153e000823bb79e29b86e (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
40
41
42
43
-- WARNING: libiserv.cabal is automatically generated from libiserv.cabal.in by
-- ../../configure.  Make sure you are editing libiserv.cabal.in, not
-- libiserv.cabal.

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       == @ProjectVersionMunged@
    if flag(network)
       Exposed-Modules: Remote.Message
                      , Remote.Slave
       Build-Depends: network    >= 2.6 && < 3,
                      directory  >= 1.3 && < 1.4,
                      filepath   >= 1.4 && < 1.5

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