@@ -1,23 +1,21 @@
1−-- http://www.haskell.org/cabal/release/cabal-latest/doc/users-guide/authors.html#pkg-descr.
1+-- http://www.haskell.org/cabal/release/cabal-latest/doc/users-guide/
2name: binary-bits
2name: binary-bits
3version: 0.1
3version: 0.1
4−synopsis: Bit parsing on top of binary.
4+synopsis: Bit parsing/writing on top of binary.
5−description: Bit parsing on top of binary. Provides functions to
5+description: Bit parsing/writing on top of binary. Provides functions to
6− read bits as 8/16/32/64 words.
6+ read and write bits to and from 8\/16\/32\/64 words.
7license: BSD3
7license: BSD3
8license-file: LICENSE
8license-file: LICENSE
9−author: Lennart Kolmodin <kolmodin@gentoo.org>
9+author: Lennart Kolmodin <kolmodin@gmail.com>
10−maintainer: Lennart Kolmodin <kolmodin@gentoo.org>
10+maintainer: Lennart Kolmodin <kolmodin@gmail.com>
12−category: Data
11+category: Data, Parsing
13build-type: Simple
12build-type: Simple
14−-- Extra files to be distributed with the package, such as examples or
16−-- extra-source-files:
18−-- Constraint on the version of Cabal needed to build this package.
19cabal-version: >=1.10
14cabal-version: >=1.10
16+source-repository head
18+ location: http://code.haskell.org/binary-bits
23 build-depends: base==4.*, binary, bytestring
21 build-depends: base==4.*, binary, bytestring
@@ -30,19 +28,17 @@ library
31 default-language: Haskell98
29 default-language: Haskell98
33− -- other-modules:
31+ ghc-options: -O2 -Wall
36test-suite qc
33test-suite qc
37 type: exitcode-stdio-1.0
34 type: exitcode-stdio-1.0
38 main-is: BitsQC.hs
35 main-is: BitsQC.hs
39 default-language: Haskell98
36 default-language: Haskell98
41− build-depends: binary-bits, binary,
42− base==4.*, haskell98, bytestring,
38+ build-depends: base==4.*, binary, bytestring,
43 QuickCheck>=2, random,
39 QuickCheck>=2, random,
44 test-framework,
40 test-framework,
45 test-framework-quickcheck2
41 test-framework-quickcheck2
43+ other-extensions: RankNTypes, MagicHash, BangPatterns, CPP,
48− default-extensions: FlexibleInstances, FlexibleContexts, TupleSections
44+ FlexibleInstances, FlexibleContexts, TupleSections