diff options
Diffstat (limited to 'primitive-structs.cabal')
-rw-r--r-- | primitive-structs.cabal | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/primitive-structs.cabal b/primitive-structs.cabal new file mode 100644 index 0000000..1572554 --- /dev/null +++ b/primitive-structs.cabal | |||
@@ -0,0 +1,70 @@ | |||
1 | cabal-version: >=1.10 | ||
2 | |||
3 | -- Initial package description 'primitive-structs.cabal' generated by | ||
4 | -- 'cabal init'. For further documentation, see | ||
5 | -- http://haskell.org/cabal/users-guide/ | ||
6 | |||
7 | -- The name of the package. | ||
8 | name: primitive-structs | ||
9 | |||
10 | -- The package version. See the Haskell package versioning policy (PVP) | ||
11 | -- for standards guiding when and how versions should be incremented. | ||
12 | -- https://pvp.haskell.org | ||
13 | -- PVP summary: +-+------- breaking API changes | ||
14 | -- | | +----- non-breaking API additions | ||
15 | -- | | | +--- code changes with no API change | ||
16 | version: 0.1.0.0 | ||
17 | |||
18 | -- A short (one-line) description of the package. | ||
19 | synopsis: Mutable structs based on the primitive package ByteArray interface. | ||
20 | |||
21 | -- A longer description of the package. | ||
22 | -- description: | ||
23 | |||
24 | -- A URL where users can report bugs. | ||
25 | -- bug-reports: | ||
26 | |||
27 | -- The license under which the package is released. | ||
28 | license: BSD3 | ||
29 | |||
30 | -- The file containing the license text. | ||
31 | license-file: LICENSE | ||
32 | |||
33 | -- The package author(s). | ||
34 | author: Joe Crayne | ||
35 | |||
36 | -- An email address to which users can send suggestions, bug reports, and | ||
37 | -- patches. | ||
38 | maintainer: joe@jerkface.net | ||
39 | |||
40 | -- A copyright notice. | ||
41 | -- copyright: | ||
42 | |||
43 | category: Data | ||
44 | |||
45 | build-type: Simple | ||
46 | |||
47 | -- Extra files to be distributed with the package, such as examples or a | ||
48 | -- README. | ||
49 | extra-source-files: CHANGELOG.md | ||
50 | |||
51 | |||
52 | library | ||
53 | -- Modules exported by the library. | ||
54 | exposed-modules: Data.Primitive.Struct, Data.Primitive.ByteArray.Util, Text.XXD | ||
55 | |||
56 | -- Modules included in this library but not exported. | ||
57 | -- other-modules: | ||
58 | |||
59 | -- LANGUAGE extensions used by modules in this package. | ||
60 | other-extensions: AllowAmbiguousTypes, CPP, DataKinds, FlexibleContexts, FlexibleInstances, MultiParamTypeClasses, ScopedTypeVariables, TypeApplications, TypeFamilies, TypeOperators, KindSignatures, MagicHash, RankNTypes | ||
61 | |||
62 | -- Other library packages from which modules are imported. | ||
63 | build-depends: base >=4.11 && <4.12, primitive >=0.6 && <0.7, tagged >=0.8 && <0.9, bytestring >=0.10 && <0.11, memory >=0.14 && <0.15 | ||
64 | |||
65 | -- Directories containing source files. | ||
66 | hs-source-dirs: src | ||
67 | |||
68 | -- Base language which the package is written in. | ||
69 | default-language: Haskell2010 | ||
70 | |||