-
Notifications
You must be signed in to change notification settings - Fork 32
/
optparse-generic.cabal
67 lines (62 loc) · 2.2 KB
/
optparse-generic.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
Name: optparse-generic
Version: 1.5.2
Cabal-Version: >=1.10
Build-Type: Simple
License: BSD3
License-File: LICENSE
Copyright: 2016 Gabriella Gonzalez
Author: Gabriella Gonzalez
Maintainer: [email protected]
Tested-With: GHC == 7.8.4, GHC == 7.10.2, GHC == 8.0.1
Bug-Reports: https://github.com/Gabriella439/Haskell-Optparse-Generic-Library/issues
Synopsis: Auto-generate a command-line parser for your datatype
Description: This library auto-generates an @optparse-applicative@-compatible
@Parser@ from any data type that derives the @Generic@ interface.
.
See the documentation in "Options.Generic" for an example of how to use
this library
Category: System
Extra-Source-Files: CHANGELOG.md
Source-Repository head
Type: git
Location: https://github.com/Gabriella439/Haskell-Optparse-Generic-Library
Library
Hs-Source-Dirs: src
Build-Depends:
base >= 4.8 && < 5 ,
text < 2.2 ,
transformers >= 0.2.0.0 && < 0.7 ,
transformers-compat >= 0.3 && < 0.8 ,
Only < 0.2 ,
optparse-applicative >= 0.16.0.0 && < 0.19,
time >= 1.5 && < 1.13,
void < 0.8 ,
bytestring < 0.13,
filepath < 1.6
if impl(ghc < 8.0)
Build-Depends:
semigroups >= 0.5.0 && < 0.20
if impl(ghc < 7.8)
Build-Depends:
singletons >= 0.10.0 && < 1.0 ,
tagged >= 0.8.3 && < 0.9 ,
th-desugar < 1.5.1
Exposed-Modules: Options.Generic
GHC-Options: -Wall
Default-Language: Haskell2010
executable optparse-generic-example-unwrap-options
ghc-options: -Wall
default-language: Haskell2010
hs-source-dirs: examples
main-is: unwrap-options.hs
build-depends:
base >= 4.7 && <5,
optparse-generic
executable optparse-generic-example-unwrap-with-help
ghc-options: -Wall
default-language: Haskell2010
hs-source-dirs: examples
main-is: unwrap-with-help.hs
build-depends:
base >= 4.7 && <5,
optparse-generic