ghci.cabal.in 2.24 KB
Newer Older
1 2 3
-- WARNING: ghci.cabal is automatically generated from ghci.cabal.in by
-- ../../configure.  Make sure you are editing ghci.cabal.in, not ghci.cabal.

4
name:           ghci
5
version:        @ProjectVersionMunged@
6 7 8 9 10
license:        BSD3
license-file:   LICENSE
category:       GHC
maintainer:     ghc-devs@haskell.org
bug-reports:    https://ghc.haskell.org/trac/ghc/newticket
11
synopsis:       The library supporting GHC's interactive interpreter
12
description:
13 14 15
            This library offers interfaces which mediate interactions between the
            @ghci@ interactive shell and @iserv@, GHC's out-of-process interpreter
            backend.
16 17 18
cabal-version:  >=1.10
build-type:     Simple
extra-source-files: changelog.md
19

20 21 22 23 24
Flag ghci
    Description: Build GHCi support.
    Default: False
    Manual: True

25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
source-repository head
    type:     git
    location: http://git.haskell.org/ghc.git
    subdir:   libraries/ghci

library
    default-language: Haskell2010
    other-extensions:
        BangPatterns
        CPP
        DeriveGeneric
        ExistentialQuantification
        FlexibleInstances
        GADTs
        GeneralizedNewtypeDeriving
        InstanceSigs
        MagicHash
        MultiParamTypeClasses
        RecordWildCards
        ScopedTypeVariables
        StandaloneDeriving
        TupleSections
        UnboxedTuples

49 50 51 52 53 54 55 56 57
    if flag(ghci)
        CPP-Options: -DGHCI
        exposed-modules:
            GHCi.Run
            GHCi.CreateBCO
            GHCi.ObjLink
            GHCi.Signals
            GHCi.TH

58
    exposed-modules:
59
        GHCi.BreakArray
60
        GHCi.BinaryArray
61 62 63 64 65
        GHCi.Message
        GHCi.ResolvedBCO
        GHCi.RemoteTypes
        GHCi.FFI
        GHCi.InfoTable
66
        GHCi.StaticPtrTable
67
        GHCi.TH.Binary
68 69 70 71
        SizedSeq

    Build-Depends:
        array            == 0.5.*,
Ryan Scott's avatar
Ryan Scott committed
72
        base             >= 4.8 && < 4.13,
73 74 75 76 77
        binary           == 0.8.*,
        bytestring       == 0.10.*,
        containers       == 0.5.*,
        deepseq          == 1.4.*,
        filepath         == 1.4.*,
78
        ghc-boot         == @ProjectVersionMunged@,
79
        ghc-boot-th      == @ProjectVersionMunged@,
Ryan Scott's avatar
Ryan Scott committed
80
        template-haskell == 2.14.*,
81
        transformers     == 0.5.*
82 83

    if !os(windows)
84
        Build-Depends: unix >= 2.7 && < 2.9