add note about ^C from pager
[diohsc.git] / diohsc.cabal
blob942a722e80f7f4fb080d80754193273b292c1a4c
1 cabal-version:      1.18
2 name:               diohsc
3 version:            0.1.14.4
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
30     default:     True
32 flag drunken-bishop
33     description:
34         Show ascii art pictures of server certificates
35     default:     True
37 flag magic
38     description: Use libmagic to determine mimetypes of local files
39     default:     False
40     manual:      True
42 flag irilinks
43     description:
44         Allow IRIs in gemtext links (preparing for likely spec change).
45         Punycoding is not currently supported.
46     default:     False
47     manual:      True
49 executable diohsc
50     main-is:          diohsc.hs
51     other-modules:
52         ActiveIdentities
53         Alias
54         ANSIColour
55         BoundedBSChan
56         BStack
57         ClientCert
58         ClientOptions 
59         ClientSessionManager
60         ClientState 
61         Command
62         CommandLine
63         Fingerprint
64         History 
65         GeminiProtocol
66         Identity
67         LineClient
68         Marks
69         MetaString
70         Mundanities
71         Opts
72         Pager
73         PrintFancy
74         Prompt
75         Queue 
76         Request
77         ResolveTarget
78         RunExternal
79         ServiceCerts
80         Slurp
81         Target
82         TextGemini
83         URI
84         Util
85         WCWidth
86         Version
88     default-language: Haskell2010
89     ghc-options:      -threaded -Wall
90     build-depends:
91         base >=4.3 && <5,
92         asn1-encoding <0.10,
93         asn1-types >=0.3.4 && <0.4,
94         bytestring >=0.10.4.0 && <0.13,
95         containers >=0.5.5.1 && <0.7,
96         cryptonite >=0.26 && <0.31,
97         data-default-class >=0.1.2.0 && <0.2,
98         hashable >= 1.1 && <1.5,
99         directory >=1.2.1.0 && <1.4,
100         exceptions >=0.10.4 && <0.11,
101         filepath >=1.3.0.2 && <1.5,
102         haskeline ==0.8.*,
103         hourglass >=0.2.12 && <0.3,
104         mime >=0.4.0.2 && <0.5,
105         mtl >=2.1.3.1 && <2.4,
106         memory >=0.14 && <0.19,
107         network >=2.4.2.3 && <3.2,
108         network-simple >=0.4.3 && <0.5,
109         network-uri >=2.6.3.0 && <2.8,
110         parsec >=3.1.5 && <3.2,
111         pem >=0.2.4 && <0.3,
112         process >=1.2.0.0 && <1.7,
113         regex-compat >=0.95.1 && <0.96,
114         rset < 1.1,
115         safe >=0.3.19 && <0.4,
116         temporary ==1.3.*,
117         terminal-size >=0.3.2.1 && <0.4,
118         text >=1.1.0.0 && <2.1,
119         tls >=1.5.4 && <1.7,
120         transformers >=0.3.0.0 && <0.7,
121         x509 >=1.7.5 && <1.8,
122         x509-store >=1.6.7 && <1.7,
123         x509-validation >=1.6.11 && <1.7
125     if os(windows)
126         cpp-options: -DWINDOWS
128     else
129         build-depends: unix >=2.7.0.1 && <2.9
131     if flag(magic)
132         cpp-options:   -DMAGIC
133         build-depends: magic <1.2
135     if flag(irilinks)
136         cpp-options: -DIRILinks
138     if flag(libiconv)
139         cpp-options:   -DICONV
140         build-depends: iconv >=0.4.1.3 && <0.5
142     if flag(drunken-bishop)
143         cpp-options:   -DDRUNKEN_BISHOP
144         build-depends: drunken-bishop >=0.1.0.0 && <0.2