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