File: th-data-compat.cabal

package info (click to toggle)
haskell-th-data-compat 0.1.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 92 kB
  • sloc: haskell: 309; makefile: 4
file content (85 lines) | stat: -rw-r--r-- 3,171 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
cabal-version:       >=1.10
name:                th-data-compat
version:             0.1.3.1
synopsis:            Compatibility for data definition template of TH
description:         This package contains wrapped name definitions of
                     data definition template
license:             BSD3
license-file:        LICENSE
author:              Kei Hibino
maintainer:          ex8k.hibino@gmail.com
copyright:           Copyright (c) 2016-2023 Kei Hibino
category:            Language
build-type:          Simple
tested-with:           GHC == 9.8.1
                     , GHC == 9.6.2, GHC == 9.6.3
                     , GHC == 9.4.4, GHC == 9.4.6
                     , GHC == 9.2.1, GHC == 9.2.2, GHC == 9.2.5, GHC == 9.2.8
                     , GHC == 9.0.1, GHC == 9.0.2
                     , GHC == 8.10.1, GHC == 8.10.2, GHC == 8.10.3, GHC == 8.10.4, GHC == 8.10.5, GHC == 8.10.6, GHC == 8.10.7
                     , GHC == 8.8.1, GHC == 8.8.2, GHC == 8.8.3
                     , GHC == 8.6.1, GHC == 8.6.2, GHC == 8.6.3, GHC == 8.6.4, GHC == 8.6.5
                     , GHC == 8.4.1, GHC == 8.4.2, GHC == 8.4.3, GHC == 8.4.4
                     , GHC == 8.2.1, GHC == 8.2.2
                     , 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

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

  other-modules:       Language.Haskell.TH.Compat.Data.Util

  if impl(ghc >= 9.8) {
    other-modules:
                         Language.Haskell.TH.Compat.Data.Current
    build-depends:       template-haskell
  } else {
  if impl(ghc >= 9.0) {
    other-modules:
                         Language.Haskell.TH.Compat.Data.V220
    build-depends:       template-haskell
  } else {
  if impl(ghc >= 8.8) {
    other-modules:
                         Language.Haskell.TH.Compat.Data.V216
    build-depends:       template-haskell <2.17
  } else {
  if impl(ghc >= 8.2) {
    other-modules:
                         Language.Haskell.TH.Compat.Data.V214
    build-depends:       template-haskell <2.15
  } else {
  if impl(ghc >= 8.0) {
    other-modules:
                         Language.Haskell.TH.Compat.Data.V211
    build-depends:       template-haskell ==2.11.*
  } else {
    other-modules:
                         Language.Haskell.TH.Compat.Data.V210
    build-depends:       template-haskell >=2.4 && <2.11
  }}}}}

  if impl(ghc >= 9.0)
    other-modules:
                         Language.Haskell.TH.Compat.TyVarBndr.Current
  else
    other-modules:
                         Language.Haskell.TH.Compat.TyVarBndr.V216

  build-depends:       base <5

  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-data-compat

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