summaryrefslogtreecommitdiff
path: root/kiki.cabal
diff options
context:
space:
mode:
authorAndrew Cady <d@jerkface.net>2019-07-13 15:48:29 -0400
committerAndrew Cady <d@jerkface.net>2019-07-13 15:48:29 -0400
commitde7f249e4d359d741b4520a749818d305fa402bd (patch)
tree7dc583e1f1b1657e0566577ba0e08eefb2a11304 /kiki.cabal
parent006d1f0b7f36c25a91006fce24cbe76416fcee86 (diff)
cabal flags fell
Diffstat (limited to 'kiki.cabal')
-rw-r--r--kiki.cabal23
1 files changed, 4 insertions, 19 deletions
diff --git a/kiki.cabal b/kiki.cabal
index f25b5a3..630ff8b 100644
--- a/kiki.cabal
+++ b/kiki.cabal
@@ -4,20 +4,13 @@ Version: 0.0.3
4cabal-version: >= 1.8 4cabal-version: >= 1.8
5Synopsis: A bridge between (cryptographic) keys 5Synopsis: A bridge between (cryptographic) keys
6Description: gpg operations... TODO 6Description: gpg operations... TODO
7License: Undecided 7License: AllRightsReserved
8-- License-file: LICENSE TODO 8-- License-file: LICENSE TODO
9Author: Joseph Crayne 9Author: Joseph Crayne
10Maintainer: Joseph Crayne <oh.hello.joe@gmail.com> 10Maintainer: Joseph Crayne <oh.hello.joe@gmail.com>
11--Homepage: TODO 11--Homepage: TODO
12build-type: Simple 12build-type: Simple
13 13
14Flag needlocale
15 Description: Link against old-locale package for older versions of the time package.
16 Default: False
17
18Flag unixEnv
19 Default: False
20
21Executable kiki 14Executable kiki
22 Ghc-Options: -W -Wall -Wno-name-shadowing -Wno-unused-matches -Wno-unused-do-bind -Wno-type-defaults 15 Ghc-Options: -W -Wall -Wno-name-shadowing -Wno-unused-matches -Wno-unused-do-bind -Wno-type-defaults
23 Main-is: kiki.hs 16 Main-is: kiki.hs
@@ -105,12 +98,8 @@ library
105 temporary, 98 temporary,
106 text, 99 text,
107 unix, 100 unix,
108 zlib 101 zlib,
109 -- todo: remove this dependency when flag(hourglass) 102 time >= 1.5
110 if flag(needlocale)
111 build-depends: time < 1.5, old-locale
112 else
113 build-depends: time >= 1.5
114 103
115 Build-Depends: cryptonite, x509 >=1.6, memory, hourglass 104 Build-Depends: cryptonite, x509 >=1.6, memory, hourglass
116 c-sources: lib/dotlock.c 105 c-sources: lib/dotlock.c
@@ -128,8 +117,4 @@ Test-suite testkiki
128 , bytestring 117 , bytestring
129 , time 118 , time
130 , kiki 119 , kiki
131 Build-Depends: cryptonite, memory 120 Build-Depends: cryptonite, memory, base >= 4.7.0
132 if flag(unixEnv)
133 Build-depends: base < 4.7.0, unix
134 else
135 Build-depends: base >= 4.7.0