diff options
Diffstat (limited to 'base32-bytestring.cabal')
-rw-r--r-- | base32-bytestring.cabal | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/base32-bytestring.cabal b/base32-bytestring.cabal new file mode 100644 index 0000000..ccba67e --- /dev/null +++ b/base32-bytestring.cabal | |||
@@ -0,0 +1,61 @@ | |||
1 | name: base32-bytestring | ||
2 | version: 0.0.0.0 | ||
3 | license: BSD3 | ||
4 | license-file: LICENSE | ||
5 | author: Sam Truzjan | ||
6 | maintainer: Sam Truzjan <pxqr.sta@gmail.com> | ||
7 | copyright: (c) 2013 Sam Truzjan | ||
8 | category: Codec, Data | ||
9 | build-type: Simple | ||
10 | cabal-version: >= 1.10 | ||
11 | synopsis: Fast base32 encoding and decoding for ByteStrings | ||
12 | description: | ||
13 | Base32 encoding according to RFC4648 | ||
14 | <http://tools.ietf.org/html/rfc4648> | ||
15 | This package have API similar to base64-bytestring. | ||
16 | |||
17 | source-repository head | ||
18 | type: git | ||
19 | location: git://github.com/cobit/base32.git | ||
20 | branch: master | ||
21 | |||
22 | source-repository this | ||
23 | type: git | ||
24 | location: git://github.com/cobit/base32.git | ||
25 | branch: master | ||
26 | tag: v0.0.0.0 | ||
27 | |||
28 | library | ||
29 | default-language: Haskell2010 | ||
30 | default-extensions: | ||
31 | hs-source-dirs: src | ||
32 | exposed-modules: Data.ByteString.Base32 | ||
33 | build-depends: base == 4.6.* | ||
34 | , bytestring == 0.10.* | ||
35 | , cpu | ||
36 | , bits-extras | ||
37 | ghc-options: -O2 -Wall | ||
38 | |||
39 | test-suite spec | ||
40 | default-language: Haskell2010 | ||
41 | default-extensions: OverloadedStrings | ||
42 | type: exitcode-stdio-1.0 | ||
43 | hs-source-dirs: tests | ||
44 | main-is: Spec.hs | ||
45 | build-depends: base == 4.* | ||
46 | , base32-bytestring | ||
47 | , bytestring | ||
48 | , hspec >= 1.7 | ||
49 | , QuickCheck | ||
50 | ghc-options: -Wall | ||
51 | |||
52 | benchmark bench | ||
53 | type: exitcode-stdio-1.0 | ||
54 | default-language: Haskell2010 | ||
55 | hs-source-dirs: bench | ||
56 | main-is: Main.hs | ||
57 | build-depends: base == 4.* | ||
58 | , base32-bytestring | ||
59 | , bytestring | ||
60 | , criterion | ||
61 | ghc-options: -O2 -Wall -fno-warn-orphans | ||