summaryrefslogtreecommitdiff
path: root/bencoding.cabal
diff options
context:
space:
mode:
authorSam T <sta.cs.vsu@gmail.com>2013-03-31 15:44:10 +0400
committerSam T <sta.cs.vsu@gmail.com>2013-03-31 15:44:10 +0400
commit3c82f6740cfab315892d6cf0186ec0b8188d8d57 (patch)
tree5ee48746be8a470905a64ef12bea915de3ac98e1 /bencoding.cabal
parentd9d8be772d574236a5c1e33625e804973be3b7fb (diff)
add src
Diffstat (limited to 'bencoding.cabal')
-rw-r--r--bencoding.cabal76
1 files changed, 76 insertions, 0 deletions
diff --git a/bencoding.cabal b/bencoding.cabal
new file mode 100644
index 0000000..d4d9f16
--- /dev/null
+++ b/bencoding.cabal
@@ -0,0 +1,76 @@
1name: bencoding
2version: 0.1.0.0
3synopsis:
4description:
5license: MIT
6license-file: LICENSE
7author: Sam T.
8maintainer: Sam T. <pxqr.sta@gmail.com>
9copyright: (c) 2013, Sam T.
10category: Codec, Data
11build-type: Simple
12cabal-version: >= 1.8
13
14source-repository head
15 type: git
16 location: https://github.com/fmap/bencoding.git
17
18
19library
20 exposed-modules: Data.BEncode
21 other-modules:
22 build-depends: base == 4.5.*
23 , containers >= 0.4.0
24 , bytestring >= 0.10.2.0
25 , attoparsec >= 0.10.4.0
26 , ansi-wl-pprint
27
28 hs-source-dirs: src
29
30 ghc-options: -Wall -fno-warn-unused-do-bind -Werror
31
32executable pp
33 main-is: pp.hs
34 build-depends: base == 4.5.*
35 , bytestring >= 0.10.2.0
36 , bencoding >= 0.1.0.0
37
38 hs-source-dirs: pp
39 ghc-options: -Wall -Werror -O2
40
41test-suite properties
42 type: exitcode-stdio-1.0
43 main-is: properties.hs
44 hs-source-dirs: tests
45
46 build-depends: base == 4.5.*
47 , containers >= 0.4.0
48 , bytestring >= 0.10.2.0
49 , attoparsec >= 0.10.4.0
50 , ansi-wl-pprint
51
52 , test-framework
53 , test-framework-quickcheck2
54 , QuickCheck
55 , bencoding >= 0.1.0.0
56
57 ghc-options: -Wall -fno-warn-orphans
58
59
60benchmark bench-comparison
61 type: exitcode-stdio-1.0
62 main-is: Main.hs
63 hs-source-dirs: bench
64
65 build-depends: base == 4.5.*
66 , attoparsec >= 0.10.4.0
67 , bytestring >= 0.10.2.0
68
69 , criterion
70 , deepseq
71
72 , bencoding >= 0.1.0.0
73 , bencode >= 0.5
74 , AttoBencode >= 0.2.0.1
75
76 ghc-options: -O2 -Wall -fno-warn-orphans