Skip to content

Commit 99e9248

Browse files
authored
Dependency bounds (#1)
base >=4.9 for TypeApplications bytestring >=0.10 for instance NFData ByteString
1 parent 7cdd6d7 commit 99e9248

File tree

1 file changed

+105
-99
lines changed

1 file changed

+105
-99
lines changed

random-token.cabal

Lines changed: 105 additions & 99 deletions
Original file line numberDiff line numberDiff line change
@@ -1,105 +1,111 @@
1-
cabal-version: 2.4
2-
name: random-token
3-
version: 0.1.0.0
4-
synopsis: Implementation of random token generation and parsing
5-
author: typeable.io
6-
maintainer: s9gf4ult@gmail.com
7-
license-file: LICENSE
8-
category: Web
9-
build-type: Simple
1+
cabal-version: 2.4
2+
name: random-token
3+
version: 0.1.0.0
4+
synopsis: Implementation of random token generation and parsing
5+
author: typeable.io
6+
maintainer: s9gf4ult@gmail.com
7+
license-file: LICENSE
8+
category: Web
9+
build-type: Simple
1010

1111
library
12-
hs-source-dirs: src
13-
ghc-options: -Wall
14-
exposed-modules: Random.Token
15-
build-depends: base >= 4.7 && < 5
16-
, QuickCheck
17-
, aeson
18-
, base64-bytestring
19-
, bytestring
20-
, deepseq
21-
, http-api-data
22-
, text
12+
hs-source-dirs: src
13+
ghc-options: -Wall
14+
exposed-modules: Random.Token
15+
build-depends:
16+
, aeson
17+
, base >=4.9 && <5
18+
, base64-bytestring
19+
, bytestring >=0.10
20+
, deepseq
21+
, http-api-data
22+
, QuickCheck
23+
, text
24+
2325
if !(impl(ghcjs) || arch(javascript))
24-
build-depends: cryptonite
25-
, postgresql-simple
26-
,
27-
default-language: Haskell2010
28-
default-extensions: CPP
29-
, ConstraintKinds
30-
, DataKinds
31-
, DeriveFoldable
32-
, DeriveFunctor
33-
, DeriveGeneric
34-
, DeriveTraversable
35-
, DuplicateRecordFields
36-
, FlexibleContexts
37-
, FlexibleInstances
38-
, FunctionalDependencies
39-
, GADTs
40-
, GeneralizedNewtypeDeriving
41-
, LambdaCase
42-
, MultiParamTypeClasses
43-
, MultiWayIf
44-
, NumDecimals
45-
, OverloadedStrings
46-
, PolyKinds
47-
, QuasiQuotes
48-
, RankNTypes
49-
, RecordWildCards
50-
, RoleAnnotations
51-
, ScopedTypeVariables
52-
, StandaloneDeriving
53-
, TemplateHaskell
54-
, TupleSections
55-
, TypeApplications
56-
, TypeFamilies
57-
, TypeOperators
58-
, UndecidableInstances
59-
, ViewPatterns
26+
build-depends:
27+
, cryptonite
28+
, postgresql-simple
29+
30+
default-language: Haskell2010
31+
default-extensions:
32+
CPP
33+
ConstraintKinds
34+
DataKinds
35+
DeriveFoldable
36+
DeriveFunctor
37+
DeriveGeneric
38+
DeriveTraversable
39+
DuplicateRecordFields
40+
FlexibleContexts
41+
FlexibleInstances
42+
FunctionalDependencies
43+
GADTs
44+
GeneralizedNewtypeDeriving
45+
LambdaCase
46+
MultiParamTypeClasses
47+
MultiWayIf
48+
NumDecimals
49+
OverloadedStrings
50+
PolyKinds
51+
QuasiQuotes
52+
RankNTypes
53+
RecordWildCards
54+
RoleAnnotations
55+
ScopedTypeVariables
56+
StandaloneDeriving
57+
TemplateHaskell
58+
TupleSections
59+
TypeApplications
60+
TypeFamilies
61+
TypeOperators
62+
UndecidableInstances
63+
ViewPatterns
6064

6165
test-suite spec
62-
type: exitcode-stdio-1.0
63-
hs-source-dirs: spec
64-
main-is: Test.hs
65-
other-modules: TokenSpec
66-
default-language: Haskell2010
67-
build-depends: base >= 4.10 && < 5
68-
, hspec
69-
, random-token
66+
type: exitcode-stdio-1.0
67+
hs-source-dirs: spec
68+
main-is: Test.hs
69+
other-modules: TokenSpec
70+
default-language: Haskell2010
71+
build-depends:
72+
, base >=4.10 && <5
73+
, hspec
74+
, random-token
75+
7076
build-tool-depends: hspec-discover:hspec-discover
71-
ghc-options: -Wall
72-
-threaded
73-
-rtsopts
74-
"-with-rtsopts=-N -A64m -qb0 -n4m -T -I1"
75-
ghc-prof-options: -fprof-auto
76-
default-extensions: ConstraintKinds
77-
, DataKinds
78-
, DeriveFoldable
79-
, DeriveFunctor
80-
, DeriveGeneric
81-
, DeriveTraversable
82-
, DuplicateRecordFields
83-
, FlexibleContexts
84-
, FlexibleInstances
85-
, FunctionalDependencies
86-
, GADTs
87-
, GeneralizedNewtypeDeriving
88-
, LambdaCase
89-
, MultiParamTypeClasses
90-
, MultiWayIf
91-
, NumDecimals
92-
, OverloadedStrings
93-
, PolyKinds
94-
, QuasiQuotes
95-
, RankNTypes
96-
, RecordWildCards
97-
, ScopedTypeVariables
98-
, StandaloneDeriving
99-
, TemplateHaskell
100-
, TupleSections
101-
, TypeApplications
102-
, TypeFamilies
103-
, TypeOperators
104-
, UndecidableInstances
105-
, ViewPatterns
77+
ghc-options:
78+
-Wall -threaded -rtsopts "-with-rtsopts=-N -A64m -qb0 -n4m -T -I1"
79+
80+
ghc-prof-options: -fprof-auto
81+
default-extensions:
82+
ConstraintKinds
83+
DataKinds
84+
DeriveFoldable
85+
DeriveFunctor
86+
DeriveGeneric
87+
DeriveTraversable
88+
DuplicateRecordFields
89+
FlexibleContexts
90+
FlexibleInstances
91+
FunctionalDependencies
92+
GADTs
93+
GeneralizedNewtypeDeriving
94+
LambdaCase
95+
MultiParamTypeClasses
96+
MultiWayIf
97+
NumDecimals
98+
OverloadedStrings
99+
PolyKinds
100+
QuasiQuotes
101+
RankNTypes
102+
RecordWildCards
103+
ScopedTypeVariables
104+
StandaloneDeriving
105+
TemplateHaskell
106+
TupleSections
107+
TypeApplications
108+
TypeFamilies
109+
TypeOperators
110+
UndecidableInstances
111+
ViewPatterns

0 commit comments

Comments
 (0)