-
Notifications
You must be signed in to change notification settings - Fork 16
/
superrecord.cabal
76 lines (70 loc) · 2.42 KB
/
superrecord.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
name: superrecord
version: 0.5.1.0
synopsis: Supercharged anonymous records
description: Anonymous records with various useful utilities
homepage: https://github.com/agrafix/superrecord#readme
license: BSD3
license-file: LICENSE
author: Alexander Thiemann
maintainer: [email protected]
copyright: 2017-2018 Alexander Thiemann <[email protected]>
category: Records
build-type: Simple
extra-source-files:
README.md
CHANGELOG.md
cabal-version: >=1.10
flag GhcjsNativeRecord
Description: When compiling with GHCJS, use native JavaScript records as underlying representation
Default: True
library
hs-source-dirs: src
exposed-modules: SuperRecord
, SuperRecord.Variant
, SuperRecord.Variant.Tagged
, SuperRecord.Variant.Text
other-modules: SuperRecord.Field
, SuperRecord.Sort
build-depends: base >= 4.9 && < 5
, constraints
, aeson >= 1.0
, text >= 1.2
, bytestring >= 0.10
, deepseq >= 1.4
, ghc-prim >= 0.5
, mtl >= 2.1
default-language: Haskell2010
ghc-options: -Wall -O2
if impl(ghcjs)
build-depends: ghcjs-base
if flag(GhcjsNativeRecord)
cpp-options: "-DJS_RECORD"
test-suite superrecord-test
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Spec.hs
build-depends: base
, superrecord
, hspec
, aeson
, mtl
, text
ghc-options: -threaded -rtsopts -with-rtsopts=-N
default-language: Haskell2010
benchmark superrecord-bench
type: exitcode-stdio-1.0
main-is: Bench.hs
hs-source-dirs: bench
build-depends: base
, superrecord
, criterion
, labels
, bookkeeper
, deepseq
, aeson
, text
default-language: Haskell2010
ghc-options: -threaded -rtsopts -with-rtsopts=-N -O2
source-repository head
type: git
location: https://github.com/agrafix/superrecord