File: package.dhall

package info (click to toggle)
haskell-ghc-tcplugins-extra 0.4.6-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 316 kB
  • sloc: haskell: 901; makefile: 6
file content (46 lines) | stat: -rw-r--r-- 1,932 bytes parent folder | download
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
let defs = ./defaults.dhall

let version = ./version.dhall

in  let ghc = { name = "ghc", mixin = [] : List Text }

    in  let gin =
                  ghc
              //  { mixin =
                    [ "hiding ()"
                    , "(TcRnTypes as Constraint)"
                    , "(Type as Predicate)"
                    ]
                  }

        in  let mods =
                  [ "GhcApi.Constraint"
                  , "GhcApi.Predicate"
                  , "GhcApi.GhcPlugins"
                  , "Internal.Type"
                  , "Internal.Constraint"
                  , "Internal.Evidence"
                  ]

            in      defs
                //  { library =
                      { source-dirs = "src"
                      , dependencies =
                        [ "base >=4.8 && <5", "ghc >=7.10 && <9.12" ]
                      , exposed-modules = "GHC.TcPluginM.Extra"
                      , other-modules = "Internal"
                      , when =
                        [ version "9.10" "9.12" [ "tree-9.4", "9.10" ] ghc mods
                        , version "9.8" "9.10" [ "tree-9.4", "9.8" ] ghc mods
                        , version "9.4" "9.8" [ "tree-9.4", "9.4" ] ghc mods
                        , version "9.2" "9.4" [ "tree", "9.2" ] ghc mods
                        , version "9.0" "9.2" [ "tree", "9.0" ] ghc mods
                        , version "8.10" "9.0" [ "flat", "8.10" ] ghc mods
                        , version "8.8" "8.10" [ "flat", "8.8" ] gin mods
                        , version "8.6" "8.8" [ "flat", "8.6" ] gin mods
                        , version "8.4" "8.6" [ "flat", "8.4" ] gin mods
                        , version "8.2" "8.4" [ "flat", "8.2" ] gin mods
                        , version "8.0" "8.2" [ "flat", "8.0" ] gin mods
                        ]
                      }
                    }