File: th-constraint-compat.cabal

package info (click to toggle)
haskell-th-constraint-compat 0.0.1.0-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 64 kB
  • sloc: haskell: 21; makefile: 3
file content (53 lines) | stat: -rw-r--r-- 1,855 bytes parent folder | download | duplicates (3)
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

name:                th-constraint-compat
version:             0.0.1.0
synopsis:            Compatibility for type constraint template
description:         This package provides compatibe interfaces
                     for type constraint template
license:             BSD3
license-file:        LICENSE
author:              Kei Hibino
maintainer:          ex8k.hibino@gmail.com
copyright:           Copyright (c) 2017 Kei Hibino
category:            Language
build-type:          Simple
cabal-version:       >=1.10
tested-with:           GHC == 8.2.1
                     , GHC == 8.0.1, GHC == 8.0.2
                     , GHC == 7.10.1, GHC == 7.10.2, GHC == 7.10.3
                     , GHC == 7.8.1, GHC == 7.8.2, GHC == 7.8.3, GHC == 7.8.4
                     , GHC == 7.6.1, GHC == 7.6.2, GHC == 7.6.3
                     , GHC == 7.4.1, GHC == 7.4.2

flag template-haskell-209
       description: If true, use template-haskell 2.9 or older, otherwise use template-haskell 2.10 or newer.
       default:     False

library
  exposed-modules:
                       Language.Haskell.TH.Compat.Constraint

  if flag(template-haskell-209)
    other-modules:
                       Language.Haskell.TH.Compat.Constraint.V209
    build-depends:       template-haskell >=2.7 && <2.10
  else
    other-modules:
                       Language.Haskell.TH.Compat.Constraint.Current
    build-depends:       template-haskell >=2.10

  build-depends:         base <5
                       , containers

  other-extensions:    CPP
  hs-source-dirs:      src
  default-language:    Haskell2010
  ghc-options:         -Wall

source-repository head
  type:       git
  location:   https://github.com/khibino/haskell-th-constraint-compat

source-repository head
  type:       mercurial
  location:   https://bitbucket.org/khibino/haskell-th-constraint-compat