-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconstruct.cabal
73 lines (68 loc) · 2.95 KB
/
construct.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
cabal-version: >=1.10
name: construct
version: 0.3.2
synopsis: Haskell version of the Construct library for easy specification of file formats
description:
A Haskell version of the <https://construct.readthedocs.io/en/latest/intro.html Construct> library for Python. A
succinct file format specification provides both a parser and the serializer for the format.
bug-reports: https://github.com/blamario/construct/issues
license: BSD3
license-file: LICENSE
author: Mario Blažević
maintainer: Mario Blažević <blamario@protonmail.com>
copyright: Mario Blažević 2020
category: Data, Parsing, Serialization
build-type: Custom
extra-source-files: CHANGELOG.md, README.md, test/README.lhs
data-dir: test/examples/
data-files: wmf1.wmf
source-repository head
type: git
location: https://github.com/blamario/construct
custom-setup
setup-depends:
base >= 4 && <5,
Cabal < 4,
cabal-doctest >= 1 && <1.1
library
-- other-extensions:
hs-source-dirs: src
exposed-modules: Construct, Construct.Bits, Construct.Classes
other-modules: Construct.Internal
build-depends: base >=4.11 && <5,
bytestring >= 0.10 && < 0.13,
text >= 0.10 && < 2.2,
monoid-subclasses >= 1.0 && < 1.3,
incremental-parser >= 0.5 && < 0.6,
parsers >= 0.11 && < 0.13,
input-parsers < 0.4,
attoparsec >= 0.12 && < 0.15,
cereal >= 0.5 && < 0.6,
rank2classes >= 1 && < 1.6
default-language: Haskell2010
ghc-options: -Wall
test-suite doctests
type: exitcode-stdio-1.0
hs-source-dirs: test
default-language: Haskell2010
main-is: Doctest.hs
other-modules: README
ghc-options: -threaded -pgmL markdown-unlit
build-depends: base, construct,
bytestring, incremental-parser >= 0.5 && < 0.6, rank2classes >= 1.0.2 && < 1.6,
doctest >= 0.8
build-tool-depends: markdown-unlit:markdown-unlit >= 0.5 && < 0.6
x-doctest-options: -XTypeApplications
test-suite examples
type: exitcode-stdio-1.0
hs-source-dirs: test
build-depends: base >=4.9 && < 5, construct,
bytestring < 0.13, text, cereal, rank2classes,
monoid-subclasses, incremental-parser < 0.6, attoparsec >= 0.12 && < 0.15,
directory < 2, filepath < 1.6,
tasty >= 0.7, tasty-hunit
main-is: Test.hs
other-modules: MBR, TAR, URI, WMF, OrphanInstances
default-language: Haskell2010
-- workaround for https://gitlab.haskell.org/ghc/ghc/issues/17744
ghc-options: -O0