packages feed

th-lift-0.8: th-lift.cabal

Name:               th-lift
Version:            0.8
Cabal-Version:      1.12
License:            BSD3
License-Files:      COPYING, BSD3, GPL-2
Copyright:          © 2006 Ian Lynagh, © 2010-2018 Mathieu Boespflug
Author:             Ian Lynagh
Maintainer:         Mathieu Boespflug <mboes@tweag.net>
Homepage:           http://github.com/mboes/th-lift
Synopsis:           Derive Template Haskell's Lift class for datatypes.
Description:
  Derive Template Haskell's Lift class for datatypes using @TemplateHaskell@
  .
  * <https://hackage.haskell.org/package/th-orphans th-orphans> package provides instances for @template-haskell@ syntax types
  .
  * <http://hackage.haskell.org/package/th-lift-instances th-lift-instances> package provides @Lift@ (compat) instances for types in @base@, @text@, @bytestring@, @vector@ etc.
Category:           Language
Tested-With:        GHC==7.0.4, GHC==7.2.2, GHC==7.4.2, GHC==7.6.3, GHC==7.8.4, GHC==7.10.3, GHC==8.0.2, GHC==8.2.2, GHC==8.4.4, GHC==8.6.5, GHC==8.8.1
build-type:         Simple
Extra-source-files: CHANGELOG.md

source-repository head
  type:     git
  location: git://github.com/mboes/th-lift

Library
  Default-Language: Haskell2010
  Exposed-modules:  Language.Haskell.TH.Lift
  Other-Extensions: CPP,  MagicHash, TypeSynonymInstances, FlexibleInstances
  if impl(ghc >= 8.0)
    Other-Extensions: TemplateHaskellQuotes
  else
    Other-Extensions: TemplateHaskell
  Hs-Source-Dirs:   src
  Build-Depends:    base              >= 4.3  && < 5,
                    ghc-prim,
                    th-abstraction   >= 0.2.3 && < 0.4,
                    template-haskell >= 2.4   && < 2.15

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
  Build-Depends:    base,
                    ghc-prim,
                    th-lift,
                    template-haskell