From ddb64d2b6fdbd77a244f1716c862938055bdfdd4 Mon Sep 17 00:00:00 2001 From: James Crayne Date: Wed, 9 Oct 2019 01:22:40 +0000 Subject: clean up cabal file --- primitive-structs.cabal | 53 +++++++++++++++++-------------------------------- 1 file 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 @@ cabal-version: >=1.10 --- Initial package description 'primitive-structs.cabal' generated by --- 'cabal init'. For further documentation, see --- http://haskell.org/cabal/users-guide/ - --- The name of the package. name: primitive-structs -- The package version. See the Haskell package versioning policy (PVP) @@ -15,56 +10,44 @@ name: primitive-structs -- | | | +--- code changes with no API change version: 0.1.0.0 --- A short (one-line) description of the package. synopsis: Mutable structs based on the primitive package ByteArray interface. --- A longer description of the package. -- description: - -- A URL where users can report bugs. -- bug-reports: --- The license under which the package is released. license: BSD3 - --- The file containing the license text. license-file: LICENSE - --- The package author(s). author: Joe Crayne - --- An email address to which users can send suggestions, bug reports, and --- patches. maintainer: joe@jerkface.net - --- A copyright notice. -- copyright: - category: Data - build-type: Simple --- Extra files to be distributed with the package, such as examples or a --- README. extra-source-files: CHANGELOG.md library - -- Modules exported by the library. exposed-modules: Data.Primitive.Struct, Data.Primitive.ByteArray.Util, Text.XXD - - -- Modules included in this library but not exported. -- other-modules: - - -- LANGUAGE extensions used by modules in this package. - other-extensions: AllowAmbiguousTypes, CPP, DataKinds, FlexibleContexts, FlexibleInstances, MultiParamTypeClasses, ScopedTypeVariables, TypeApplications, TypeFamilies, TypeOperators, KindSignatures, MagicHash, RankNTypes - - -- Other library packages from which modules are imported. - build-depends: base , primitive , tagged , bytestring , memory - - -- Directories containing source files. + other-extensions: AllowAmbiguousTypes + , CPP + , DataKinds + , FlexibleContexts + , FlexibleInstances + , MultiParamTypeClasses + , ScopedTypeVariables + , TypeApplications + , TypeFamilies + , TypeOperators + , KindSignatures + , MagicHash + , RankNTypes + build-depends: base + , primitive + , tagged + , bytestring + , memory hs-source-dirs: src - - -- Base language which the package is written in. default-language: Haskell2010 -- cgit v1.2.3