-
Notifications
You must be signed in to change notification settings - Fork 5
/
nats.cabal
92 lines (82 loc) · 2.68 KB
/
nats.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
name: nats
category: Numeric, Algebra
version: 1.1.2
license: BSD3
cabal-version: >= 1.10
license-file: LICENSE
author: Edward A. Kmett
maintainer: Edward A. Kmett <[email protected]>
stability: provisional
homepage: http://github.com/ekmett/nats/
bug-reports: http://github.com/ekmett/nats/issues
copyright: Copyright (C) 2011-2014 Edward A. Kmett
synopsis: Natural numbers
description: Natural numbers.
build-type: Simple
tested-with: GHC == 7.0.4
, GHC == 7.2.2
, GHC == 7.4.2
, GHC == 7.6.3
, GHC == 7.8.4
, GHC == 7.10.3
, GHC == 8.0.2
, GHC == 8.2.2
, GHC == 8.4.4
, GHC == 8.6.5
, GHC == 8.8.4
, GHC == 8.10.4
, GHC == 9.0.1
extra-source-files:
.ghci
.gitignore
.vim.custom
README.markdown
CHANGELOG.markdown
source-repository head
type: git
location: git://github.com/ekmett/nats.git
flag hashable
description:
You can disable the use of the `hashable` package using `-f-hashable`.
.
Disabling this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users.
.
If disabled we will not supply an instance of `Hashable`.
default: True
manual: True
flag binary
description:
You can disable the use of the `binary` package using `-f-binary`.
.
Disabling this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users.
.
If disabled we will not supply an instance of `Binary`.
default: True
manual: True
flag template-haskell
description:
You can disable the use of the `template-haskell` package using `-f-template-haskell`.
.
Disabling this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users.
.
If disabled we will not supply an instance of `Lift`.
default: True
manual: True
library
default-language: Haskell98
if impl(ghc<7)
-- {-# LANGUAGE DeriveDataTypeable #-} is only understood starting w/ GHC-7.0
default-extensions: DeriveDataTypeable
if impl(ghc<7.9)
-- Starting with GHC 7.10/base-4.8, "Numeric.Natural" lives in `base`
hs-source-dirs: src
exposed-modules: Numeric.Natural
ghc-options: -Wall
-- the needlessly relaxed bound here is to due to stack shenanigans
build-depends: base >= 2 && < 5
if flag(binary)
build-depends: binary >= 0.2 && < 0.9
if flag(template-haskell)
build-depends: template-haskell >= 2.2 && < 2.15
if flag(hashable)
build-depends: hashable >= 1.1.2.0 && < 1.5