Typo
[packages/base.git] / base.cabal
1 name:           base
2 version:        4.7.0.0
3 -- GHC 7.6.1 released with 4.6.0.0
4 license:        BSD3
5 license-file:   LICENSE
6 maintainer:     libraries@haskell.org
7 bug-reports:    http://ghc.haskell.org/trac/ghc/newticket?component=libraries/base
8 synopsis:       Basic libraries
9 category:       Prelude
10 description:
11     This package contains the "Prelude" and its support libraries,
12     and a large collection of useful libraries ranging from data
13     structures to parsing combinators and debugging utilities.
14 cabal-version:  >=1.10
15 build-type:     Configure
16
17 extra-tmp-files:
18     autom4te.cache
19     base.buildinfo
20     config.log
21     config.status
22     include/EventConfig.h
23     include/HsBaseConfig.h
24
25 extra-source-files:
26     aclocal.m4
27     base.buildinfo.in
28     changelog.md
29     config.guess
30     config.sub
31     configure
32     configure.ac
33     include/CTypes.h
34     include/EventConfig.h.in
35     include/HsBaseConfig.h.in
36     include/ieee-flpt.h
37     include/md5.h
38     install-sh
39
40 source-repository head
41     type:     git
42     location: http://git.haskell.org/packages/base.git
43
44 Flag integer-simple
45     Description: Use integer-simple
46
47 Library
48     default-language: Haskell2010
49     other-extensions:
50         BangPatterns
51         CApiFFI
52         CPP
53         ConstraintKinds
54         DataKinds
55         DeriveDataTypeable
56         DeriveGeneric
57         ExistentialQuantification
58         ExplicitForAll
59         FlexibleContexts
60         FlexibleInstances
61         FunctionalDependencies
62         GADTs
63         GeneralizedNewtypeDeriving
64         KindSignatures
65         MagicHash
66         MultiParamTypeClasses
67         NegativeLiterals
68         NoImplicitPrelude
69         NondecreasingIndentation
70         OverlappingInstances
71         OverloadedStrings
72         ParallelArrays
73         PolyKinds
74         RankNTypes
75         RecordWildCards
76         RoleAnnotations
77         Safe
78         ScopedTypeVariables
79         StandaloneDeriving
80         Trustworthy
81         TypeFamilies
82         TypeOperators
83         TypeSynonymInstances
84         UnboxedTuples
85         UndecidableInstances
86         UnliftedFFITypes
87         Unsafe
88
89     build-depends: rts == 1.0.*, ghc-prim >= 0.3.1 && < 0.4
90     if flag(integer-simple)
91         build-depends: integer-simple >= 0.1.1 && < 0.2
92     else
93         build-depends: integer-gmp >= 0.5.1 && < 0.6
94         cpp-options: -DOPTIMISE_INTEGER_GCD_LCM
95
96     exposed-modules:
97         Control.Applicative
98         Control.Arrow
99         Control.Category
100         Control.Concurrent
101         Control.Concurrent.Chan
102         Control.Concurrent.MVar
103         Control.Concurrent.QSem
104         Control.Concurrent.QSemN
105         Control.Exception
106         Control.Exception.Base
107         Control.Monad
108         Control.Monad.Fix
109         Control.Monad.Instances
110         Control.Monad.ST
111         Control.Monad.ST.Lazy
112         Control.Monad.ST.Lazy.Safe
113         Control.Monad.ST.Lazy.Unsafe
114         Control.Monad.ST.Safe
115         Control.Monad.ST.Strict
116         Control.Monad.ST.Unsafe
117         Control.Monad.Zip
118         Data.Bits
119         Data.Bool
120         Data.Char
121         Data.Coerce
122         Data.Complex
123         Data.Data
124         Data.Dynamic
125         Data.Either
126         Data.Eq
127         Data.Fixed
128         Data.Foldable
129         Data.Function
130         Data.Functor
131         Data.IORef
132         Data.Int
133         Data.Ix
134         Data.List
135         Data.Maybe
136         Data.Monoid
137         Data.OldTypeable
138         Data.OldTypeable.Internal
139         Data.Ord
140         Data.Proxy
141         Data.Ratio
142         Data.STRef
143         Data.STRef.Lazy
144         Data.STRef.Strict
145         Data.String
146         Data.Traversable
147         Data.Tuple
148         Data.Type.Bool
149         Data.Type.Coercion
150         Data.Type.Equality
151         Data.Typeable
152         Data.Typeable.Internal
153         Data.Unique
154         Data.Version
155         Data.Word
156         Debug.Trace
157         Foreign
158         Foreign.C
159         Foreign.C.Error
160         Foreign.C.String
161         Foreign.C.Types
162         Foreign.Concurrent
163         Foreign.ForeignPtr
164         Foreign.ForeignPtr.Safe
165         Foreign.ForeignPtr.Unsafe
166         Foreign.Marshal
167         Foreign.Marshal.Alloc
168         Foreign.Marshal.Array
169         Foreign.Marshal.Error
170         Foreign.Marshal.Pool
171         Foreign.Marshal.Safe
172         Foreign.Marshal.Unsafe
173         Foreign.Marshal.Utils
174         Foreign.Ptr
175         Foreign.Safe
176         Foreign.StablePtr
177         Foreign.Storable
178         GHC.Arr
179         GHC.Base
180         GHC.Char
181         GHC.Conc
182         GHC.Conc.IO
183         GHC.Conc.Signal
184         GHC.Conc.Sync
185         GHC.ConsoleHandler
186         GHC.Constants
187         GHC.Desugar
188         GHC.Enum
189         GHC.Environment
190         GHC.Err
191         GHC.Exception
192         GHC.Exts
193         GHC.Fingerprint
194         GHC.Fingerprint.Type
195         GHC.Float
196         GHC.Float.ConversionUtils
197         GHC.Float.RealFracMethods
198         GHC.Foreign
199         GHC.ForeignPtr
200         GHC.GHCi
201         GHC.Generics
202         GHC.IO
203         GHC.IO.Buffer
204         GHC.IO.BufferedIO
205         GHC.IO.Device
206         GHC.IO.Encoding
207         GHC.IO.Encoding.CodePage
208         GHC.IO.Encoding.Failure
209         GHC.IO.Encoding.Iconv
210         GHC.IO.Encoding.Latin1
211         GHC.IO.Encoding.Types
212         GHC.IO.Encoding.UTF16
213         GHC.IO.Encoding.UTF32
214         GHC.IO.Encoding.UTF8
215         GHC.IO.Exception
216         GHC.IO.FD
217         GHC.IO.Handle
218         GHC.IO.Handle.FD
219         GHC.IO.Handle.Internals
220         GHC.IO.Handle.Text
221         GHC.IO.Handle.Types
222         GHC.IO.IOMode
223         GHC.IOArray
224         GHC.IORef
225         GHC.IP
226         GHC.Int
227         GHC.List
228         GHC.MVar
229         GHC.Num
230         GHC.PArr
231         GHC.Pack
232         GHC.Profiling
233         GHC.Ptr
234         GHC.Read
235         GHC.Real
236         GHC.ST
237         GHC.STRef
238         GHC.Show
239         GHC.Stable
240         GHC.Stack
241         GHC.Stats
242         GHC.Storable
243         GHC.TopHandler
244         GHC.TypeLits
245         GHC.Unicode
246         GHC.Weak
247         GHC.Word
248         Numeric
249         Prelude
250         System.CPUTime
251         System.Console.GetOpt
252         System.Environment
253         System.Exit
254         System.IO
255         System.IO.Error
256         System.IO.Unsafe
257         System.Info
258         System.Mem
259         System.Mem.StableName
260         System.Mem.Weak
261         System.Posix.Internals
262         System.Posix.Types
263         System.Timeout
264         Text.ParserCombinators.ReadP
265         Text.ParserCombinators.ReadPrec
266         Text.Printf
267         Text.Read
268         Text.Read.Lex
269         Text.Show
270         Text.Show.Functions
271         Unsafe.Coerce
272
273     other-modules:
274         Control.Monad.ST.Imp
275         Control.Monad.ST.Lazy.Imp
276         Foreign.ForeignPtr.Imp
277         System.Environment.ExecutablePath
278
279     c-sources:
280         cbits/DarwinUtils.c
281         cbits/PrelIOUtils.c
282         cbits/SetEnv.c
283         cbits/WCsubst.c
284         cbits/Win32Utils.c
285         cbits/consUtils.c
286         cbits/iconv.c
287         cbits/inputReady.c
288         cbits/md5.c
289         cbits/primFloat.c
290         cbits/sysconf.c
291
292     include-dirs: include
293     includes:
294         HsBase.h
295     install-includes:
296         HsBase.h
297         WCsubst.h
298         consUtils.h
299         Typeable.h
300         OldTypeable.h
301
302     -- OS Specific
303     if os(windows)
304         extra-libraries: wsock32, user32, shell32
305         exposed-modules:
306             GHC.IO.Encoding.CodePage.API
307             GHC.IO.Encoding.CodePage.Table
308             GHC.Conc.Windows
309             GHC.Windows
310     else
311         exposed-modules:
312             GHC.Event
313         other-modules:
314             GHC.Event.Arr
315             GHC.Event.Array
316             GHC.Event.Clock
317             GHC.Event.Control
318             GHC.Event.EPoll
319             GHC.Event.IntTable
320             GHC.Event.Internal
321             GHC.Event.KQueue
322             GHC.Event.Manager
323             GHC.Event.PSQ
324             GHC.Event.Poll
325             GHC.Event.Thread
326             GHC.Event.TimerManager
327             GHC.Event.Unique
328
329     -- We need to set the package name to base (without a version number)
330     -- as it's magic.
331     ghc-options: -package-name base