bump 0.1.7
[diohsc.git] / diohsc.cabal
blob6c33e2d55e878835278556eaeebc0d78680ea9c0
1 cabal-version:      >=1.10
2 name:               diohsc
3 version:            0.1.7
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-source-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         On windows: use libiconv for charset conversion
30         (iconv is always used on POSIX systems, with no need for this flag)
32     default:     False
33     manual:      True
35 flag magic
36     description: Use libmagic to determine mimetypes of local files
37     default:     False
38     manual:      True
40 flag irilinks
41     description:
42         Allow IRIs in gemtext links (preparing for likely spec change).
43         Punycoding is not currently supported.
44     default:     False
45     manual:      True
47 executable diohsc
48     main-is:          diohsc.hs
49     other-modules:
50         ActiveIdentities
51         Alias
52         ANSIColour
53         BoundedBSChan
54         BStack
55         ClientCert
56         ClientSessionManager
57         Command
58         CommandLine
59         Fingerprint
60         GeminiProtocol
61         Identity
62         Marks
63         MetaString
64         Mundanities
65         Opts
66         Pager
67         Prompt
68         Request
69         RunExternal
70         ServiceCerts
71         Slurp
72         TextGemini
73         URI
74         Util
75         Version
77     default-language: Haskell2010
78     ghc-options:      -threaded
79     build-depends:
80         base >=4.3 && <5,
81         asn1-types >=0.3.4 && <0.4,
82         bytestring >=0.10.4.0 && <0.11,
83         containers >=0.5.5.1 && <0.7,
84         cryptonite >=0.26 && <0.28,
85         data-default-class >=0.1.2.0 && <0.2,
86         data-hash >=0.2.0.1 && <0.3,
87         directory >=1.2.1.0 && <1.4,
88         drunken-bishop >=0.1.0.0 && <0.2,
89         exceptions >=0.10.4 && <0.11,
90         filepath >=1.3.0.2 && <1.5,
91         haskeline ==0.8.*,
92         hourglass >=0.2.12 && <0.3,
93         mime >=0.4.0.2 && <0.5,
94         mtl >=2.1.3.1 && <2.3,
95         network >=2.4.2.3 && <3.2,
96         network-simple >=0.4.3 && <5,
97         network-uri >=2.6.3.0 && <2.8,
98         parsec >=3.1.5 && <3.2,
99         pem >=0.2.4 && <0.3,
100         process >=1.2.0.0 && <1.7,
101         regex-compat >=0.95.1 && <0.96,
102         safe >=0.3.19 && <0.4,
103         temporary ==1.3.*,
104         terminal-size >=0.3.2.1 && <0.4,
105         text >=1.1.0.0 && <1.3,
106         tls >=1.5.4 && <1.6,
107         transformers >=0.3.0.0 && <0.6,
108         x509 >=1.7.5 && <1.8,
109         x509-store >=1.6.7 && <1.7,
110         x509-validation >=1.6.11 && <1.7
112     if os(windows)
113         cpp-options: -DWINDOWS
115     else
116         build-depends: unix >=2.7.0.1 && <2.8
118     if flag(magic)
119         cpp-options:   -DMAGIC
120         build-depends: magic <1.2
122     if flag(irilinks)
123         cpp-options:   -DIRILinks
125     if (!os(windows) || flag(libiconv))
126         cpp-options:   -DICONV
127         build-depends: iconv >=0.4.1.3 && <0.5