summaryrefslogtreecommitdiff
path: root/libraries/ghc-boot/ghc-boot.cabal.in
blob: aed75b0c8ac71a08830d9f4e9d906c457b1bf7e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
-- WARNING: ghc-boot.cabal is automatically generated from ghc-boot.cabal.in by
-- ../../configure.  Make sure you are editing ghc-boot.cabal.in, not
-- ghc-boot.cabal.

name:           ghc-boot
version:        @ProjectVersionMunged@
license:        BSD3
license-file:   LICENSE
category:       GHC
maintainer:     ghc-devs@haskell.org
bug-reports:    https://gitlab.haskell.org/ghc/ghc/issues/new
synopsis:       Shared functionality between GHC and its boot libraries
description:    This library is shared between GHC, ghc-pkg, and other boot
                libraries.
                .
                A note about "GHC.PackageDb": it only deals with the subset of
                the package database that the compiler cares about: modules
                paths etc and not package metadata like description, authors
                etc. It is thus not a library interface to ghc-pkg and is *not*
                suitable for modifying GHC package databases.
                .
                The package database format and this library are constructed in
                such a way that while ghc-pkg depends on Cabal, the GHC library
                and program do not have to depend on Cabal.
cabal-version:  >=1.22
build-type:     Simple
extra-source-files: changelog.md

source-repository head
    type:     git
    location: https://gitlab.haskell.org/ghc/ghc.git
    subdir:   libraries/ghc-boot

Library
    default-language: Haskell2010
    other-extensions: DeriveGeneric, RankNTypes, ScopedTypeVariables
    default-extensions: NoImplicitPrelude

    exposed-modules:
            GHC.BaseDir
            GHC.LanguageExtensions
            GHC.PackageDb
            GHC.Serialized
            GHC.ForeignSrcLang
            GHC.HandleEncoding
            GHC.Platform
            GHC.Settings
            GHC.UniqueSubdir
            GHC.Version

    -- but done by Hadrian
    -- autogen-modules:
    --         GHC.Version

    build-depends: base       >= 4.7 && < 4.14,
                   binary     == 0.8.*,
                   bytestring == 0.10.*,
                   containers >= 0.5 && < 0.7,
                   directory  >= 1.2 && < 1.4,
                   filepath   >= 1.3 && < 1.5,
                   ghc-boot-th == @ProjectVersionMunged@