diff options
author | James Crayne <jim.crayne@gmail.com> | 2019-10-09 01:22:40 +0000 |
---|---|---|
committer | James Crayne <jim.crayne@gmail.com> | 2019-10-09 01:22:40 +0000 |
commit | ddb64d2b6fdbd77a244f1716c862938055bdfdd4 (patch) | |
tree | 94e74131529e3d70716ebb3d01f095c4beea76ee | |
parent | 884a34d3dbea2a8ab977d85a430fa6b3a64aae64 (diff) |
clean up cabal file
-rw-r--r-- | primitive-structs.cabal | 53 |
1 files changed, 18 insertions, 35 deletions
diff --git a/primitive-structs.cabal b/primitive-structs.cabal index 7c6df17..c866f4b 100644 --- a/primitive-structs.cabal +++ b/primitive-structs.cabal | |||
@@ -1,10 +1,5 @@ | |||
1 | cabal-version: >=1.10 | 1 | cabal-version: >=1.10 |
2 | 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 | 3 | name: primitive-structs |
9 | 4 | ||
10 | -- The package version. See the Haskell package versioning policy (PVP) | 5 | -- The package version. See the Haskell package versioning policy (PVP) |
@@ -15,56 +10,44 @@ name: primitive-structs | |||
15 | -- | | | +--- code changes with no API change | 10 | -- | | | +--- code changes with no API change |
16 | version: 0.1.0.0 | 11 | version: 0.1.0.0 |
17 | 12 | ||
18 | -- A short (one-line) description of the package. | ||
19 | synopsis: Mutable structs based on the primitive package ByteArray interface. | 13 | synopsis: Mutable structs based on the primitive package ByteArray interface. |
20 | 14 | ||
21 | -- A longer description of the package. | ||
22 | -- description: | 15 | -- description: |
23 | |||
24 | -- A URL where users can report bugs. | 16 | -- A URL where users can report bugs. |
25 | -- bug-reports: | 17 | -- bug-reports: |
26 | 18 | ||
27 | -- The license under which the package is released. | ||
28 | license: BSD3 | 19 | license: BSD3 |
29 | |||
30 | -- The file containing the license text. | ||
31 | license-file: LICENSE | 20 | license-file: LICENSE |
32 | |||
33 | -- The package author(s). | ||
34 | author: Joe Crayne | 21 | author: Joe Crayne |
35 | |||
36 | -- An email address to which users can send suggestions, bug reports, and | ||
37 | -- patches. | ||
38 | maintainer: joe@jerkface.net | 22 | maintainer: joe@jerkface.net |
39 | |||
40 | -- A copyright notice. | ||
41 | -- copyright: | 23 | -- copyright: |
42 | |||
43 | category: Data | 24 | category: Data |
44 | |||
45 | build-type: Simple | 25 | build-type: Simple |
46 | 26 | ||
47 | -- Extra files to be distributed with the package, such as examples or a | ||
48 | -- README. | ||
49 | extra-source-files: CHANGELOG.md | 27 | extra-source-files: CHANGELOG.md |
50 | 28 | ||
51 | 29 | ||
52 | library | 30 | library |
53 | -- Modules exported by the library. | ||
54 | exposed-modules: Data.Primitive.Struct, Data.Primitive.ByteArray.Util, Text.XXD | 31 | exposed-modules: Data.Primitive.Struct, Data.Primitive.ByteArray.Util, Text.XXD |
55 | |||
56 | -- Modules included in this library but not exported. | ||
57 | -- other-modules: | 32 | -- other-modules: |
58 | 33 | other-extensions: AllowAmbiguousTypes | |
59 | -- LANGUAGE extensions used by modules in this package. | 34 | , CPP |
60 | other-extensions: AllowAmbiguousTypes, CPP, DataKinds, FlexibleContexts, FlexibleInstances, MultiParamTypeClasses, ScopedTypeVariables, TypeApplications, TypeFamilies, TypeOperators, KindSignatures, MagicHash, RankNTypes | 35 | , DataKinds |
61 | 36 | , FlexibleContexts | |
62 | -- Other library packages from which modules are imported. | 37 | , FlexibleInstances |
63 | build-depends: base , primitive , tagged , bytestring , memory | 38 | , MultiParamTypeClasses |
64 | 39 | , ScopedTypeVariables | |
65 | -- Directories containing source files. | 40 | , TypeApplications |
41 | , TypeFamilies | ||
42 | , TypeOperators | ||
43 | , KindSignatures | ||
44 | , MagicHash | ||
45 | , RankNTypes | ||
46 | build-depends: base | ||
47 | , primitive | ||
48 | , tagged | ||
49 | , bytestring | ||
50 | , memory | ||
66 | hs-source-dirs: src | 51 | hs-source-dirs: src |
67 | |||
68 | -- Base language which the package is written in. | ||
69 | default-language: Haskell2010 | 52 | default-language: Haskell2010 |
70 | 53 | ||