-
Notifications
You must be signed in to change notification settings - Fork 4
/
jwt.cabal
126 lines (116 loc) · 4.44 KB
/
jwt.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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
-- Initial atlassian-jwt.cabal generated by cabal init. For further
-- documentation, see http://haskell.org/cabal/users-guide/
name: jwt
version: 0.11.0
synopsis: JSON Web Token (JWT) decoding and encoding
license: MIT
license-file: LICENSE
author: Brian McKenna
maintainer: [email protected]
homepage: https://github.com/puffnfresh/haskell-jwt
bug-reports: https://github.com/puffnfresh/haskell-jwt/issues
category: Web
build-type: Simple
cabal-version: 1.16
description:
JSON Web Token (JWT) is a compact URL-safe means of representing claims to be transferred between two parties.
.
To get started, see the documentation for the "Web.JWT" module.
extra-source-files:
CHANGELOG.md
README.md
stack.yaml
tests/jwt.secret.1
source-repository head
type: git
location: https://github.com/puffnfresh/haskell-jwt.git
-- Drop this when cryptostore does
flag use_crypton
description: Use crypton instead of cryptonite
manual: True
default: False
library
exposed-modules: Web.JWT
other-modules: Data.Text.Extended, Data.ByteString.Extended
build-depends: base >= 4.8 && < 5
, cryptostore >= 0.3.0.1
, memory >= 0.8
, bytestring >= 0.10
, text >= 0.11
, aeson >= 0.7
, containers >= 0.5
, unordered-containers >= 0.2
, scientific >= 0.2
, http-types >= 0.8
, time >= 1.1
, vector >= 0.7.1
, semigroups >= 0.15.4
, network-uri
if flag(use_crypton)
build-depends: crypton >= 0.31
, crypton-x509
, crypton-x509-store
else
build-depends: cryptonite >= 0.6
, x509
, x509-store
hs-source-dirs: src
default-language: Haskell2010
ghc-options: -Wall
--Werror
-fno-warn-unused-do-bind
-fno-warn-orphans
-fno-warn-name-shadowing
test-suite testsuite
default-language: Haskell2010
type: exitcode-stdio-1.0
main-is: TestRunner.hs
-- Make sure the tests are listed here so that they will be part of the source distribution
other-modules: Web.JWT
, Web.JWTInteropTests
, Web.JWTTests
, Web.JWTTestsCompat
, Data.Text.Extended
, Data.Text.ExtendedTests
, Data.ByteString.Extended
, Data.ByteString.ExtendedTests
hs-source-dirs: tests/src, src
build-depends: base < 5 && >= 4.8
, tasty >= 0.7
, tasty-th >= 0.1
, tasty-hunit >= 0.4
, tasty-quickcheck >= 0.3
, lens-aeson
, lens
, HUnit
, QuickCheck >= 2.4.0.1
, cryptostore
, memory
, bytestring >= 0.10
, text >= 0.11
, aeson
, scientific >= 0.2
, containers
, unordered-containers
, http-types
, time >= 1.1
, vector >= 0.7.1
, semigroups >= 0.15.4
, network-uri
if flag(use_crypton)
build-depends: crypton
, crypton-x509
, crypton-x509-store
else
build-depends: cryptonite
, x509
, x509-store
cpp-options: -DTEST
test-suite doctests
default-language: Haskell2010
type: exitcode-stdio-1.0
main-is: doctests.hs
ghc-options: -threaded
build-depends: base < 5 && >= 4.8
, jwt
, doctest >= 0.20