-
Notifications
You must be signed in to change notification settings - Fork 16
/
th-lift.cabal
62 lines (58 loc) · 2.53 KB
/
th-lift.cabal
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
Name: th-lift
Version: 0.8.5
Cabal-Version: 1.12
License: BSD3
License-Files: COPYING, BSD3, GPL-2
Copyright: © 2006 Ian Lynagh, © 2010-2019 Mathieu Boespflug, © 2019 Ryan Scott
Author: Ian Lynagh
Maintainer: Ryan Scott <[email protected]>
Homepage: http://github.com/RyanGlScott/th-lift
Synopsis: Derive Template Haskell's Lift class for datatypes.
Description:
Derive Template Haskell's @Lift@ class for datatypes using @TemplateHaskell@.
The functionality in this package has largely been subsumed by the
@DeriveLift@ language extension, which is available in GHC 8.0 and later
versions. As such, this package is only useful as a way to backport bugfixes
to @DeriveLift@ in later GHC versions back to older GHCs.
.
The following libraries are related:
.
* The <https://hackage.haskell.org/package/th-orphans th-orphans> package
provides instances for @template-haskell@ syntax types.
.
* The <http://hackage.haskell.org/package/th-lift-instances th-lift-instances>
package provides @Lift@ instances for types in @base@, @text@,
@bytestring@, @vector@, etc. Some of these instances are only provided for
old versions of their respective libraries, as the same @Lift@ instances
are also present upstream on newer versions.
Category: Language
Tested-With: GHC==8.0.2, GHC==8.2.2, GHC==8.4.4, GHC==8.6.5, GHC==8.8.4, GHC==8.10.7, GHC==9.0.2, GHC==9.2.8, GHC==9.4.8, GHC==9.6.6, GHC==9.8.2, GHC==9.10.1, GHC==9.12.1
build-type: Simple
Extra-source-files: CHANGELOG.md
source-repository head
type: git
location: https://github.com/RyanGlScott/th-lift
Library
Default-Language: Haskell2010
Exposed-modules: Language.Haskell.TH.Lift
Language.Haskell.TH.Lift.Internal
Other-Extensions: CPP, MagicHash, TypeSynonymInstances, FlexibleInstances, TemplateHaskellQuotes
Hs-Source-Dirs: src
Build-Depends: base >= 4.9 && < 5,
ghc-prim,
th-abstraction >= 0.5 && < 0.8,
template-haskell >= 2.11 && < 2.23
ghc-options: -Wall
Test-Suite test
Default-Language: Haskell2010
Type: exitcode-stdio-1.0
Main-Is: Test.hs
Hs-Source-Dirs: t
other-modules: Foo
ghc-options: -Wall
if impl(ghc >= 9.0)
ghc-options: -fenable-th-splice-warnings
Build-Depends: base,
ghc-prim,
th-lift,
template-haskell