diff options
Diffstat (limited to 'dataenc.cabal')
-rw-r--r-- | dataenc.cabal | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/dataenc.cabal b/dataenc.cabal new file mode 100644 index 0000000..35f0b65 --- /dev/null +++ b/dataenc.cabal | |||
@@ -0,0 +1,51 @@ | |||
1 | name: dataenc | ||
2 | version: 0.14.0.7 | ||
3 | license: BSD3 | ||
4 | license-file: LICENSE | ||
5 | cabal-version: >= 1.6 | ||
6 | build-type: Simple | ||
7 | author: Magnus Therning | ||
8 | maintainer: Gracjan Polak <gracjanpolak@gmail.com> | ||
9 | homepage: http://www.haskell.org/haskellwiki/Library/Data_encoding | ||
10 | copyright: Magnus Therning, 2007-2012, Gracjan Polak, 2014 | ||
11 | category: Codec | ||
12 | synopsis: Data encoding library | ||
13 | description: Data encoding library currently providing Base16, Base32, | ||
14 | Base32Hex, Base64, Base64Url, Base85, Python string escaping, | ||
15 | Quoted-Printable, URL encoding, uuencode, xxencode, and yEncoding. | ||
16 | extra-source-files: test-src/DataencUT.hs test-src/DataencQC.hs test-src/Test.hs GNUmakefile | ||
17 | |||
18 | flag tests | ||
19 | Description: Build unit and quickcheck tests. | ||
20 | Default: False | ||
21 | |||
22 | library | ||
23 | hs-source-dirs: src | ||
24 | build-depends: array, base >= 3.0.0, containers | ||
25 | exposed-modules: | ||
26 | Codec.Binary.Base16 | ||
27 | Codec.Binary.Base32 | ||
28 | Codec.Binary.Base32Hex | ||
29 | Codec.Binary.Base64 | ||
30 | Codec.Binary.Base64Url | ||
31 | Codec.Binary.Base85 | ||
32 | Codec.Binary.DataEncoding | ||
33 | Codec.Binary.PythonString | ||
34 | Codec.Binary.QuotedPrintable | ||
35 | Codec.Binary.Url | ||
36 | Codec.Binary.Uu | ||
37 | Codec.Binary.Xx | ||
38 | Codec.Binary.Yenc | ||
39 | other-modules: | ||
40 | Codec.Binary.Util | ||
41 | |||
42 | executable tests | ||
43 | main-is: Test.hs | ||
44 | hs-source-dirs: test-src src | ||
45 | -- ghc-options: -fhpc | ||
46 | if flag(tests) | ||
47 | build-depends: test-framework, test-framework-hunit, HUnit, | ||
48 | test-framework-quickcheck2, QuickCheck ==2.5.*, | ||
49 | test-framework-th | ||
50 | else | ||
51 | buildable: False | ||