Bump `base` constraint
[packages/haskell98.git] / haskell98.cabal
1 name:           haskell98
2 version:        2.0.0.4
3 -- NOTE: Don't forget to update ./changelog.md
4 license:        BSD3
5 license-file:   LICENSE
6 maintainer:     libraries@haskell.org
7 bug-reports:    http://ghc.haskell.org/trac/ghc/newticket?component=libraries/haskell98
8 synopsis:       Compatibility with Haskell 98
9 category:       Haskell98, Prelude
10 homepage:       http://www.haskell.org/definition/
11 build-type:     Simple
12 cabal-version:  >=1.10
13 description:
14     This package provides compatibility with the modules of Haskell
15     98 and the FFI addendum, by means of wrappers around modules from
16     the base package (which in many cases have additional features).
17     However "Prelude", "Numeric" and "Foreign" are provided directly by
18     the @base@ package.
19
20 extra-source-files:
21     changelog.md
22
23 source-repository head
24     type:     git
25     location: http://git.haskell.org/packages/haskell98.git
26
27 Library
28     default-language: Haskell98
29     other-extensions:
30         BangPatterns
31         CPP
32         NoImplicitPrelude
33         PackageImports
34     if impl(ghc)
35         other-extensions:
36             Safe
37             Trustworthy
38
39     build-depends:
40         array       >= 0.5 && < 0.6,
41         base        >= 4.7 && < 4.9,
42         directory   >= 1.2 && < 1.3,
43         old-locale  >= 1.0 && < 1.1,
44         old-time    >= 1.1 && < 1.2,
45         process     >= 1.2 && < 1.3,
46         time        >= 1.4 && < 1.5
47
48     -- haskell98 is a "hidden" package
49     exposed: False
50
51     exposed-modules:
52         -- Haskell 98
53         Prelude
54
55         Array
56         CPUTime
57         Char
58         Complex
59         Directory
60         IO
61         Ix
62         List
63         Locale
64         Maybe
65         Monad
66         Numeric
67         Random
68         Ratio
69         System
70         Time
71
72         -- FFI addendum (Foreign is in the base package)
73         Bits
74         CError
75         CForeign
76         CString
77         CTypes
78         ForeignPtr
79         Int
80         MarshalAlloc
81         MarshalArray
82         MarshalError
83         MarshalUtils
84         Ptr
85         StablePtr
86         Storable
87         Word
88
89     ghc-options: -Wall