diff options
Diffstat (limited to 'hmacaroons.cabal')
-rw-r--r-- | hmacaroons.cabal | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/hmacaroons.cabal b/hmacaroons.cabal new file mode 100644 index 0000000..a9f6ea5 --- /dev/null +++ b/hmacaroons.cabal | |||
@@ -0,0 +1,63 @@ | |||
1 | name: hmacaroons | ||
2 | version: 0.1.0.0 | ||
3 | synopsis: Haskell implementation of macaroons | ||
4 | -- description: | ||
5 | license: BSD3 | ||
6 | license-file: LICENSE | ||
7 | author: Julien Tanguy | ||
8 | maintainer: julien.tanguy@jhome.fr | ||
9 | -- copyright: | ||
10 | category: Data | ||
11 | build-type: Simple | ||
12 | extra-source-files: README.md | ||
13 | cabal-version: >=1.10 | ||
14 | |||
15 | library | ||
16 | exposed-modules: Crypto.Macaroon, | ||
17 | Crypto.Macaroon.Binder | ||
18 | other-modules: Crypto.Macaroon.Internal | ||
19 | -- other-extensions: | ||
20 | build-depends: base >=4 && < 5, | ||
21 | bytestring >=0.10, | ||
22 | base64-bytestring >= 1.0, | ||
23 | byteable >= 0.1 && <0.2, | ||
24 | cereal >= 0.4, | ||
25 | cryptohash >=0.11 && <0.12, | ||
26 | cipher-aes >=0.2 && <0.3, | ||
27 | deepseq >= 1.1, | ||
28 | hex >= 0.1 | ||
29 | hs-source-dirs: src | ||
30 | default-language: Haskell2010 | ||
31 | |||
32 | benchmark bench | ||
33 | default-language: Haskell2010 | ||
34 | type: exitcode-stdio-1.0 | ||
35 | hs-source-dirs: src, bench | ||
36 | main-is: bench.hs | ||
37 | ghc-options: -O2 | ||
38 | build-depends: base >= 4 && <5, | ||
39 | bytestring >=0.10, | ||
40 | base64-bytestring >= 1.0, | ||
41 | cereal >= 0.4, | ||
42 | cryptohash >=0.11 && <0.12, | ||
43 | cipher-aes >=0.2 && <0.3, | ||
44 | byteable >= 0.1 && <0.2, | ||
45 | hex >= 0.1, | ||
46 | deepseq >= 1.1, | ||
47 | criterion >= 1.1 | ||
48 | |||
49 | test-suite test | ||
50 | default-language: Haskell2010 | ||
51 | type: exitcode-stdio-1.0 | ||
52 | hs-source-dirs: test | ||
53 | main-is: tests.hs | ||
54 | build-depends: base >= 4 && <5, | ||
55 | bytestring >=0.10, | ||
56 | base64-bytestring >= 1.0, | ||
57 | byteable >= 0.1 && <0.2, | ||
58 | cereal >= 0.4, | ||
59 | cryptohash >=0.11 && <0.12, | ||
60 | hex >= 0.1, | ||
61 | tasty >= 0.10, | ||
62 | tasty-hunit >= 0.9, | ||
63 | hmacaroons | ||