47f65afe147c3736510e8976870d9218a8c80845
[ghc.git] / libraries / ghci / ghci.cabal.in
1 -- WARNING: ghci.cabal is automatically generated from ghci.cabal.in by
2 -- ../../configure.  Make sure you are editing ghci.cabal.in, not ghci.cabal.
3
4 name:           ghci
5 version:        @ProjectVersionMunged@
6 license:        BSD3
7 license-file:   LICENSE
8 category:       GHC
9 maintainer:     ghc-devs@haskell.org
10 bug-reports:    https://ghc.haskell.org/trac/ghc/newticket
11 synopsis:       The library supporting GHC's interactive interpreter
12 description:
13             This library offers interfaces which mediate interactions between the
14             @ghci@ interactive shell and @iserv@, GHC's out-of-process interpreter
15             backend.
16 cabal-version:  >=1.10
17 build-type:     Simple
18 extra-source-files: changelog.md
19
20 Flag ghci
21     Description: Build GHCi support.
22     Default: False
23     Manual: True
24
25 source-repository head
26     type:     git
27     location: http://git.haskell.org/ghc.git
28     subdir:   libraries/ghci
29
30 library
31     default-language: Haskell2010
32     other-extensions:
33         BangPatterns
34         CPP
35         DeriveGeneric
36         ExistentialQuantification
37         FlexibleInstances
38         GADTs
39         GeneralizedNewtypeDeriving
40         InstanceSigs
41         MagicHash
42         MultiParamTypeClasses
43         RecordWildCards
44         ScopedTypeVariables
45         StandaloneDeriving
46         TupleSections
47         UnboxedTuples
48
49     if flag(ghci)
50         CPP-Options: -DGHCI
51         exposed-modules:
52             GHCi.Run
53             GHCi.CreateBCO
54             GHCi.ObjLink
55             GHCi.Signals
56             GHCi.TH
57
58     exposed-modules:
59         GHCi.BreakArray
60         GHCi.BinaryArray
61         GHCi.Message
62         GHCi.ResolvedBCO
63         GHCi.RemoteTypes
64         GHCi.FFI
65         GHCi.InfoTable
66         GHCi.StaticPtrTable
67         GHCi.TH.Binary
68         SizedSeq
69
70     Build-Depends:
71         array            == 0.5.*,
72         base             >= 4.8 && < 4.13,
73         binary           == 0.8.*,
74         bytestring       == 0.10.*,
75         containers       == 0.5.*,
76         deepseq          == 1.4.*,
77         filepath         == 1.4.*,
78         ghc-boot         == @ProjectVersionMunged@,
79         ghc-boot-th      == @ProjectVersionMunged@,
80         ghc-heap         == @ProjectVersionMunged@,
81         template-haskell == 2.14.*,
82         transformers     == 0.5.*
83
84     if !os(windows)
85         Build-Depends: unix >= 2.7 && < 2.9