-
Notifications
You must be signed in to change notification settings - Fork 0
/
prefix-units.cabal
119 lines (92 loc) · 3.57 KB
/
prefix-units.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
cabal-version: 1.18
-- prefix-units.cabal auto-generated by cabal init. For additional
-- options, see
-- http://www.haskell.org/cabal/release/cabal-latest/doc/users-guide/authors.html#pkg-descr.
-- The name of the package.
name: prefix-units
-- The package version. See the Haskell package versioning policy
-- (http://www.haskell.org/haskellwiki/Package_versioning_policy) for
-- standards guiding when and how versions should be incremented.
version: 0.3.0.1
-- A short (one-line) description of the package.
synopsis: A basic library for SI/IEC prefix units
-- A longer description of the package.
description:
This library deals with parsing values containing \"prefix units\"
(both IEC\/binary and SI). For example, it can parse 10M and 1G,
and it can also format values for displaying with the \"optimal\"
unit.
For more details, see the man page units(7),
<http://physics.nist.gov/cuu/Units/prefixes.html> and
<http://physics.nist.gov/cuu/Units/binary.html>.
-- URL for the project homepage or repository.
homepage: https://github.com/iustin/prefix-units
-- The license under which the package is released.
license: BSD3
-- The file containing the license text.
license-file: LICENSE
-- The package author(s).
author: Iustin Pop <[email protected]>
-- An email address to which users can send suggestions, bug reports,
-- and patches.
maintainer: Iustin Pop <[email protected]>
-- A copyright notice.
copyright: (c) 2012, 2014, 2015 Google Inc.
category: Data
-- Stability field.
stability: stable
bug-reports: https://github.com/iustin/prefix-units/issues
build-type: Simple
-- Extra files to be distributed with the package, such as examples or
-- a README.
extra-source-files: README.md CHANGES.md Makefile example.hs
tested-with: GHC==8.0.2
, GHC==8.2.2
, GHC==8.4
, GHC==8.6
, GHC==8.8
, GHC==8.10
, GHC==9.0
, GHC==9.2
, GHC==9.4
, GHC==9.6
source-repository head
Type: git
Location: https://github.com/iustin/prefix-units.git
source-repository this
Type: git
Location: https://github.com/iustin/prefix-units.git
Tag: prefix-units-v0.2.0
library
-- Modules exported by the library.
exposed-modules: Data.Prefix.Units
-- Packages needed in order to build this package.
build-depends: base >= 3 && < 5
-- Modules not exported by this package.
other-modules: Data.Prefix.Units.Compat
ghc-options: -Wall
default-language: Haskell2010
default-extensions:
Safe
TypeSynonymInstances
FlexibleInstances
-- Extra tools (e.g. alex, hsc2hs, ...) needed to build the source.
-- Build-tools:
Test-Suite test-units
type: exitcode-stdio-1.0
hs-source-dirs: tests
main-is: Properties.hs
build-depends: base >= 3
, Cabal >= 1.9.2
, test-framework >= 0.6
, test-framework-quickcheck2 >= 0.2.12
, test-framework-hunit >= 0.2.7
, QuickCheck >= 2.4.2
, HUnit >= 1.2.4
, deepseq >= 1.4.0.0
, prefix-units
ghc-options: -Wall -fno-warn-orphans
default-extensions:
CPP
ScopedTypeVariables
default-language: Haskell2010