-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathfernet.cabal
88 lines (81 loc) · 3.15 KB
/
fernet.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
name: fernet
version: 0.1.0.0
synopsis: Generate and verify HMAC-based authentication tokens.
description: Originally designed for use within OpenStack clusters,
/Fernet/ is intended to be fast and light-weight, with
non-persistent tokens. Fernet tokens are signed with a
SHA256 HMAC and their contents encrypted with AES128
in CBC mode.
homepage: https://github.com/rvl/fernet-hs
license: LGPL-3
license-file: LICENSE
author: Rodney Lorrimar
maintainer: [email protected]
copyright: 2017 Rodney Lorrimar
category: Web, Authentication
build-type: Simple
extra-source-files: README.md, ChangeLog.md
cabal-version: >=1.10
stability: experimental
bug-reports: https://github.com/rvl/fernet-hs/issues
flag cli
description: Build the example application
default: True
library
exposed-modules: Network.Fernet
other-modules: Network.Fernet.Base64
, Network.Fernet.Crypto
, Network.Fernet.Key
, Network.Fernet.Token
build-depends: base >= 4.9 && < 4.21
, binary >= 0.8.3.0 && < 0.10
, byteable >= 0.1.1 && < 0.2
, bytestring >= 0.10.8 && < 0.13
, cryptonite >= 0.21 && < 0.31
, memory >= 0.14.1 && < 0.20
, time >= 1.6.0 && < 1.15
hs-source-dirs: src
default-language: Haskell2010
default-extensions: OverloadedStrings
, RecordWildCards
executable fernet
if flag(cli)
buildable: True
else
buildable: False
hs-source-dirs: cli
main-is: FernetMain.hs
ghc-options: -threaded -rtsopts -with-rtsopts=-N
build-depends: base
, fernet
, bytestring
, optparse-applicative >= 0.12 && < 0.19
, memory
, time
, unix >= 2.7.2.1 && < 2.9
default-language: Haskell2010
default-extensions: OverloadedStrings
test-suite fernet-test
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Main.hs
other-modules: Network.Fernet.Tests
build-depends: HUnit
, QuickCheck
, aeson >= 1.0.2 && < 2.3
, base
, bytestring
, fernet
, memory >= 0.14.1
, tasty
, tasty-golden
, tasty-hunit
, tasty-quickcheck
, time
ghc-options: -threaded -rtsopts -with-rtsopts=-N
default-language: Haskell2010
default-extensions: OverloadedStrings
, RecordWildCards
source-repository head
type: git
location: https://github.com/rvl/fernet-hs