bump bytestring upper bound
[diohsc.git] / diohsc.cabal
blob67fa657d6d17e7701631d6058ac336ee55b996eb
1 cabal-version:      1.18
2 name:               diohsc
3 version:            0.1.14.1
4 license:            GPL-3
5 license-file:       COPYING
6 maintainer:         mbays@sdf.org
7 author:             Martin Bays
8 homepage:           https://mbays.sdf.org/diohsc
9 synopsis:           Gemini client
10 description:
11     Line-based command-oriented interactive client for the gemini protocol.
13 category:           Browser
14 build-type:         Simple
15 extra-doc-files:
16     README.md
17     THANKS
18     diohscrc.sample
19     Makefile
20     diohsc.1.md
21     CHANGELOG.md
23 source-repository head
24     type:     git
25     location: https://repo.or.cz/diohsc.git
27 flag libiconv
28     description:
29         Use libiconv for charset conversion
31     default:     True
33 flag magic
34     description: Use libmagic to determine mimetypes of local files
35     default:     False
36     manual:      True
38 flag irilinks
39     description:
40         Allow IRIs in gemtext links (preparing for likely spec change).
41         Punycoding is not currently supported.
43     default:     False
44     manual:      True
46 executable diohsc
47     main-is:          diohsc.hs
48     other-modules:
49         ActiveIdentities
50         Alias
51         ANSIColour
52         BoundedBSChan
53         BStack
54         ClientCert
55         ClientOptions 
56         ClientSessionManager
57         ClientState 
58         Command
59         CommandLine
60         Fingerprint
61         History 
62         GeminiProtocol
63         Identity
64         LineClient
65         Marks
66         MetaString
67         Mundanities
68         Opts
69         Pager
70         PrintFancy
71         Prompt
72         Queue 
73         Request
74         ResolveTarget
75         RunExternal
76         ServiceCerts
77         Slurp
78         Target
79         TextGemini
80         URI
81         Util
82         WCWidth
83         Version
85     default-language: Haskell2010
86     ghc-options:      -threaded -Wall
87     build-depends:
88         base >=4.3 && <5,
89         asn1-encoding <0.10,
90         asn1-types >=0.3.4 && <0.4,
91         bytestring >=0.10.4.0 && <0.13,
92         containers >=0.5.5.1 && <0.7,
93         cryptonite >=0.26 && <0.31,
94         data-default-class >=0.1.2.0 && <0.2,
95         hashable >= 1.1 && <1.5,
96         directory >=1.2.1.0 && <1.4,
97         drunken-bishop >=0.1.0.0 && <0.2,
98         exceptions >=0.10.4 && <0.11,
99         filepath >=1.3.0.2 && <1.5,
100         haskeline ==0.8.*,
101         hourglass >=0.2.12 && <0.3,
102         mime >=0.4.0.2 && <0.5,
103         mtl >=2.1.3.1 && <2.4,
104         memory >=0.14 && <0.19,
105         network >=2.4.2.3 && <3.2,
106         network-simple >=0.4.3 && <0.5,
107         network-uri >=2.6.3.0 && <2.8,
108         parsec >=3.1.5 && <3.2,
109         pem >=0.2.4 && <0.3,
110         process >=1.2.0.0 && <1.7,
111         regex-compat >=0.95.1 && <0.96,
112         rset < 1.1,
113         safe >=0.3.19 && <0.4,
114         temporary ==1.3.*,
115         terminal-size >=0.3.2.1 && <0.4,
116         text >=1.1.0.0 && <2.1,
117         tls >=1.5.4 && <1.7,
118         transformers >=0.3.0.0 && <0.7,
119         x509 >=1.7.5 && <1.8,
120         x509-store >=1.6.7 && <1.7,
121         x509-validation >=1.6.11 && <1.7
123     if os(windows)
124         cpp-options: -DWINDOWS
126     else
127         build-depends: unix >=2.7.0.1 && <2.8
129     if flag(magic)
130         cpp-options:   -DMAGIC
131         build-depends: magic <1.2
133     if flag(irilinks)
134         cpp-options: -DIRILinks
136     if flag(libiconv)
137         cpp-options:   -DICONV
138         build-depends: iconv >=0.4.1.3 && <0.5