-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathhscuid.cabal
66 lines (61 loc) · 2.18 KB
/
hscuid.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
-- Initial hscuid.cabal generated by cabal init. For further
-- documentation, see http://haskell.org/cabal/users-guide/
name: hscuid
version: 1.2.0.1
synopsis: Collision-resistant IDs
description: See README (link below).
homepage: https://github.com/crabmusket/hscuid
license: BSD3
license-file: LICENSE
author: Daniel Buckmaster
maintainer: [email protected]
category: Web
build-type: Simple
cabal-version: >= 1.8
extra-source-files: README.md
tested-with: GHC == 7.6.3
, GHC == 7.8.4
, GHC == 7.10.1
, GHC == 8.0.2
source-repository head
type: git
location: git://github.com/crabmusket/hscuid.git
library
hs-source-dirs: lib
exposed-modules: Web.Cuid
other-modules: Web.Cuid.Internal Web.Cuid.Internal.Formatting
build-depends: base >= 4.6 && < 5,
time >= 1.4,
random >= 1.0,
transformers >= 0.4,
hostname >= 1.0,
mwc-random >= 0.13,
text >= 1.2
if os(windows)
build-depends: Win32 >= 2.3
extra-libraries: kernel32
else
build-depends: unix >= 2.6
ghc-options: -Wall -O2
test-suite hscuid-test
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Test.hs
build-depends: base >= 4.6 && < 5,
containers ==0.5.*,
text >= 1.2,
hscuid
ghc-options: -Wall -rtsopts -O2
executable perf-test
hs-source-dirs: test
main-is: Perf.hs
build-depends: base >= 4.6 && < 5,
hscuid
if impl(ghc < 7.8)
-- We cannot use criterion >= 1.1.1 with GHC 7.6 because of its dependency
-- on js-jquery, which requires Cabal library >= 1.18.
-- See https://github.com/crabmusket/hscuid/pull/5#issuecomment-294654898
build-depends: criterion >= 1.1 && < 1.1.1
else
build-depends: criterion >= 1.1
ghc-options: -Wall -rtsopts -O2