diff options
author | Andrew Cady <d@jerkface.net> | 2019-07-13 15:48:29 -0400 |
---|---|---|
committer | Andrew Cady <d@jerkface.net> | 2019-07-13 15:48:29 -0400 |
commit | de7f249e4d359d741b4520a749818d305fa402bd (patch) | |
tree | 7dc583e1f1b1657e0566577ba0e08eefb2a11304 /kiki.cabal | |
parent | 006d1f0b7f36c25a91006fce24cbe76416fcee86 (diff) |
cabal flags fell
Diffstat (limited to 'kiki.cabal')
-rw-r--r-- | kiki.cabal | 23 |
1 files changed, 4 insertions, 19 deletions
@@ -4,20 +4,13 @@ Version: 0.0.3 | |||
4 | cabal-version: >= 1.8 | 4 | cabal-version: >= 1.8 |
5 | Synopsis: A bridge between (cryptographic) keys | 5 | Synopsis: A bridge between (cryptographic) keys |
6 | Description: gpg operations... TODO | 6 | Description: gpg operations... TODO |
7 | License: Undecided | 7 | License: AllRightsReserved |
8 | -- License-file: LICENSE TODO | 8 | -- License-file: LICENSE TODO |
9 | Author: Joseph Crayne | 9 | Author: Joseph Crayne |
10 | Maintainer: Joseph Crayne <oh.hello.joe@gmail.com> | 10 | Maintainer: Joseph Crayne <oh.hello.joe@gmail.com> |
11 | --Homepage: TODO | 11 | --Homepage: TODO |
12 | build-type: Simple | 12 | build-type: Simple |
13 | 13 | ||
14 | Flag needlocale | ||
15 | Description: Link against old-locale package for older versions of the time package. | ||
16 | Default: False | ||
17 | |||
18 | Flag unixEnv | ||
19 | Default: False | ||
20 | |||
21 | Executable kiki | 14 | Executable 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 | ||