Cabal cleanup overlooked in 8d5301d03f2bb945ef3
[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
33     build-depends:
34         array >= 0.5 && < 0.6,
35         base  >= 4.8 && < 4.9
36
37     -- this hack adds a dependency on ghc-prim for Haddock.  The GHC
38     -- build system doesn't seem to track transitive dependencies when
39     -- running Haddock, and if we don't do this then Haddock can't
40     -- find the docs for things defined in ghc-prim.
41     build-depends: ghc-prim >= 0.3.1 && < 0.4
42
43     -- haskell2010 is a "hidden" package
44     exposed: False
45
46     -- The modules below are listed in the order they occur in the
47     -- "Haskell 2010 Language Report" table of contents.
48     exposed-modules:
49         -- chapter 9 "Standard Prelude"
50         -- http://www.haskell.org/onlinereport/haskell2010/haskellch9.html
51         Prelude
52
53         -- Part II "The Haskell 2010 Libraries"
54         -- http://www.haskell.org/onlinereport/haskell2010/haskellpa2.html
55         --
56         -- chapter [13..23]
57         Control.Monad
58         Data.Array
59         Data.Bits
60         Data.Char
61         Data.Complex
62         Data.Int
63         Data.Ix
64         Data.List
65         Data.Maybe
66         Data.Ratio
67         Data.Word
68
69         -- FFI modules, chapter [24..37]
70         Foreign
71         Foreign.C
72         Foreign.C.Error
73         Foreign.C.String
74         Foreign.C.Types
75         Foreign.ForeignPtr
76         Foreign.Marshal
77         Foreign.Marshal.Alloc
78         Foreign.Marshal.Array
79         Foreign.Marshal.Error
80         Foreign.Marshal.Utils
81         Foreign.Ptr
82         Foreign.StablePtr
83         Foreign.Storable
84
85         -- chapter [38..42]
86         Numeric
87         System.Environment
88         System.Exit
89         System.IO
90         System.IO.Error
91
92     ghc-options: -Wall