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