forked from digital-asset/daml
-
Notifications
You must be signed in to change notification settings - Fork 0
/
uri-encode.cabal
79 lines (72 loc) · 2.02 KB
/
uri-encode.cabal
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
name: uri-encode
version: 1.5.0.5
description: Unicode aware uri-encoding.
synopsis: Unicode aware uri-encoding.
cabal-version: >= 1.8
category: Network, Web
author: Silk
maintainer: code@silk.co
license: BSD3
license-file: LICENSE
build-type: Simple
extra-source-files:
CHANGELOG.md
LICENSE
README.md
flag tools
description: Build executables
default: False
manual: True
flag network-uri
description: Get Network.URI from the network-uri package
default: True
source-repository head
type: git
location: https://github.com/silkapp/uri-encode.git
library
ghc-options: -Wall
hs-source-dirs: src
exposed-modules: Network.URI.Encode
build-depends:
base == 4.*
, bytestring >= 0.9 && < 0.11
, text >= 0.7 && < 1.3
, utf8-string >= 0.3 && < 1.1
if flag(network-uri)
build-depends: network-uri >= 2.6
else
build-depends: network (>= 2.2 && < 2.4.1.0) || (> 2.4.1.0 && < 2.6)
executable uri-encode
main-is: URIEncode.hs
ghc-options: -Wall
hs-source-dirs: src
if flag(tools)
buildable: True
build-depends:
base == 4.*
, bytestring >= 0.9 && < 0.11
, text >= 0.7 && < 1.3
, utf8-string >= 0.3 && < 1.1
if flag(network-uri)
build-depends: network-uri >= 2.6
else
build-depends: network (>= 2.2 && < 2.4.1.0) || (> 2.4.1.0 && < 2.6)
else
buildable: False
executable uri-decode
main-is: URIDecode.hs
ghc-options: -Wall
hs-source-dirs: src
if flag(tools)
buildable: True
build-depends:
base == 4.*
, bytestring >= 0.9 && < 0.11
, text >= 0.7 && < 1.3
, utf8-string >= 0.3 && < 1.1
if flag(network-uri)
build-depends: network-uri >= 2.6
else
build-depends: network (>= 2.2 && < 2.4.1.0) || (> 2.4.1.0 && < 2.6)
else
buildable: False