forked from nikita-volkov/refined
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrefined.cabal
128 lines (120 loc) · 2.8 KB
/
refined.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
127
128
cabal-version: 2.0
name:
refined
version:
0.8.1
synopsis:
Refinement types with static and runtime checking
description:
For an extensive introduction to the library please follow to
<http://nikita-volkov.github.io/refined this blog-post>.
category:
Data
homepage:
https://github.com/nikita-volkov/refined
bug-reports:
https://github.com/nikita-volkov/refined/issues
author:
Nikita Volkov <[email protected]>
maintainer:
chessai <[email protected]>
copyright:
Copyright © 2015, Nikita Volkov
Copyright © 2018, Remy Goldschmidt
Copyright © 2020, chessai
license:
MIT
license-file:
LICENSE
build-type:
Simple
tested-with:
GHC == 8.4.4
, GHC == 8.6.5
, GHC == 8.8.5
, GHC == 8.10.7
, GHC == 9.0.2
, GHC == 9.2.4
, GHC == 9.4.2
, GHC == 9.6.1
extra-source-files:
README.md
, changelog.md
flag aeson
description:
You can disable the use of the `aeson` package using `-f-aeson`.
.
This may be useful for accelerating builds in sandboxes for expert users.
default: True
manual: True
flag QuickCheck
description:
You can disable the use of the `QuickCheck` package using `-f-QuickCheck`.
.
This may be useful for accelerating builds in sandboxes for expert users.
default: True
manual: True
source-repository head
type:
git
location:
git://github.com/nikita-volkov/refined.git
library
hs-source-dirs:
src
exposed-modules:
Refined
Refined.Unsafe
Refined.Unsafe.Type
default-language:
Haskell2010
build-depends:
base >= 4.11 && < 4.19
, bytestring >= 0.10 && < 0.12
, deepseq >= 1.4 && < 1.5
, exceptions >= 0.8 && < 0.11
, hashable >= 1.0 && < 1.5
, mtl >= 2.2.2 && < 2.4
, template-haskell >= 2.9 && < 2.21
, text >= 1.2 && < 2.1
, these-skinny >= 0.7.5 && < 0.8
if flag(aeson)
build-depends: aeson >= 0.9 && < 2.2
cpp-options: -DHAVE_AESON
if flag(QuickCheck)
build-depends: QuickCheck >= 2.1 && < 2.15
cpp-options: -DHAVE_QUICKCHECK
--test-suite doctest
-- type: exitcode-stdio-1.0
-- hs-source-dirs: test
-- main-is: Doctests.hs
-- build-depends:
-- base
-- , refined
-- , doctest >= 0.10
-- default-language: Haskell2010
test-suite arbitrary
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: QuickCheck.hs
build-depends:
base
, refined
, QuickCheck
default-language: Haskell2010
test-suite compiles
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Compiles.hs
build-depends:
base
, refined
default-language: Haskell2010
--test-suite doesnt-compile
-- type: exitcode-stdio-1.0
-- hs-source-dirs: test
-- main-is: DoesntCompile.hs
-- build-depends:
-- base
-- , refined
-- default-language: Haskell2010