Bump `base` constraint
[packages/haskell2010.git] / haskell2010.cabal
1 name:           haskell2010
2 version:        1.1.2.1
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/haskell2010
8 synopsis:       Compatibility with Haskell 2010
9 category:       Haskell2010, Prelude
10 homepage:       http://www.haskell.org/onlinereport/haskell2010/
11 build-type:     Simple
12 Cabal-Version:  >=1.10
13 description:
14     This package provides exactly the library modules defined by
15     the <http://www.haskell.org/onlinereport/haskell2010/ Haskell 2010 standard>.
16
17 extra-source-files:
18     changelog.md
19
20 source-repository head
21     type:     git
22     location: http://git.haskell.org/packages/haskell2010.git
23
24 Library
25     default-language: Haskell2010
26     other-extensions:
27         BangPatterns
28         CPP
29         NoImplicitPrelude
30         Safe
31         Trustworthy
32     if impl(ghc)
33         other-extensions: Safe, Trustworthy
34
35     build-depends:
36         array >= 0.5 && < 0.6,
37         base  >= 4.7 && < 4.9
38
39     -- this hack adds a dependency on ghc-prim for Haddock.  The GHC
40     -- build system doesn't seem to track transitive dependencies when
41     -- running Haddock, and if we don't do this then Haddock can't
42     -- find the docs for things defined in ghc-prim.
43     if impl(ghc)
44         build-depends: ghc-prim >= 0.3.1 && < 0.4
45
46     -- haskell2010 is a "hidden" package
47     exposed: False
48
49     -- The modules below are listed in the order they occur in the
50     -- "Haskell 2010 Language Report" table of contents.
51     exposed-modules:
52         -- chapter 9 "Standard Prelude"
53         -- http://www.haskell.org/onlinereport/haskell2010/haskellch9.html
54         Prelude
55
56         -- Part II "The Haskell 2010 Libraries"
57         -- http://www.haskell.org/onlinereport/haskell2010/haskellpa2.html
58         --
59         -- chapter [13..23]
60         Control.Monad
61         Data.Array
62         Data.Bits
63         Data.Char
64         Data.Complex
65         Data.Int
66         Data.Ix
67         Data.List
68         Data.Maybe
69         Data.Ratio
70         Data.Word
71
72         -- FFI modules, chapter [24..37]
73         Foreign
74         Foreign.C
75         Foreign.C.Error
76         Foreign.C.String
77         Foreign.C.Types
78         Foreign.ForeignPtr
79         Foreign.Marshal
80         Foreign.Marshal.Alloc
81         Foreign.Marshal.Array
82         Foreign.Marshal.Error
83         Foreign.Marshal.Utils
84         Foreign.Ptr
85         Foreign.StablePtr
86         Foreign.Storable
87
88         -- chapter [38..42]
89         Numeric
90         System.Environment
91         System.Exit
92         System.IO
93         System.IO.Error
94
95     ghc-options: -Wall