libiserv.cabal 1.08 KB
Newer Older
1
Name: libiserv
Ben Gamari's avatar
Ben Gamari committed
2
Version: 8.7.1
3 4
Copyright: XXX
License: BSD3
Ben Gamari's avatar
Ben Gamari committed
5
License-File: LICENSE
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
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.9,
                   bytestring >= 0.10 && < 0.11,
Ben Gamari's avatar
Ben Gamari committed
26
                   containers >= 0.5 && < 0.7,
27
                   deepseq    >= 1.4 && < 1.5,
Ben Gamari's avatar
Ben Gamari committed
28
                   ghci       == 8.7.*
29 30 31 32 33 34 35 36 37 38 39
    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