2010-08-17 23:36:45 +04:00
|
|
|
-- http://www.haskell.org/cabal/release/cabal-latest/doc/users-guide/authors.html#pkg-descr.
|
|
|
|
name: binary-bits
|
|
|
|
version: 0.1
|
|
|
|
synopsis: Bit parsing on top of binary.
|
|
|
|
description: Bit parsing on top of binary. Provides functions to
|
|
|
|
read parts of 8/16/32/64 words.
|
|
|
|
license: BSD3
|
|
|
|
license-file: LICENSE
|
|
|
|
author: Lennart Kolmodin <kolmodin@gentoo.org>
|
|
|
|
maintainer: Lennart Kolmodin <kolmodin@gentoo.org>
|
|
|
|
-- copyright:
|
|
|
|
category: Data
|
|
|
|
build-type: Simple
|
|
|
|
-- Extra files to be distributed with the package, such as examples or
|
|
|
|
-- a README.
|
|
|
|
-- extra-source-files:
|
|
|
|
|
|
|
|
-- Constraint on the version of Cabal needed to build this package.
|
2011-06-01 10:05:39 +04:00
|
|
|
cabal-version: >=1.10
|
2010-08-17 23:36:45 +04:00
|
|
|
|
|
|
|
|
|
|
|
library
|
2010-08-26 18:40:22 +04:00
|
|
|
exposed-modules: BitsGet, BitsPut, Bits
|
2010-08-17 23:36:45 +04:00
|
|
|
|
|
|
|
build-depends: base==4.*, binary, bytestring
|
|
|
|
-- other-modules:
|
|
|
|
-- build-tools:
|
|
|
|
|
|
|
|
test-suite qc
|
|
|
|
type: exitcode-stdio-1.0
|
|
|
|
main-is: BitsQC.hs
|
|
|
|
|
2010-08-26 23:56:27 +04:00
|
|
|
build-depends: binary-bits, binary,
|
|
|
|
base==4.*, haskell98, bytestring,
|
|
|
|
QuickCheck>=2, random,
|
|
|
|
test-framework,
|
|
|
|
test-framework-quickcheck2
|
2010-08-27 17:06:54 +04:00
|
|
|
ghc-options: -fhpc
|