packages feed

lift-generics-0.3.1: lift-generics.cabal

name:                lift-generics
version:             0.3.1
synopsis:            GHC.Generics-based Language.Haskell.TH.Syntax.lift implementation
description:         This package provides a "GHC.Generics"-based @genericLift@
                     function, which can be used for providing a
                     @Language.Haskell.TH.Syntax.lift@ implementation. See the
                     documentation in the "Language.Haskell.TH.Lift.Generics"
                     module to get started.
                     .
                     Credit goes to Matthew Pickering for
                     <https://ghc.haskell.org/trac/ghc/ticket/1830#comment:12 suggesting this idea>.
homepage:            https://github.com/RyanGlScott/lift-generics
bug-reports:         https://github.com/RyanGlScott/lift-generics/issues
license:             BSD3
license-file:        LICENSE
author:              Ryan Scott
maintainer:          Ryan Scott <ryan.gl.scott@gmail.com>
stability:           Experimental
copyright:           (C) 2015-2017 Ryan Scott
category:            Language
build-type:          Simple
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.7
                   , GHC == 9.8.4
                   , GHC == 9.10.3
                   , GHC == 9.12.2
                   , GHC == 9.14.1
extra-source-files:  CHANGELOG.md, README.md
cabal-version:       >=1.10

source-repository head
  type:                git
  location:            https://github.com/RyanGlScott/lift-generics

library
  exposed-modules:     Language.Haskell.TH.Lift.Generics
  build-depends:       base             >= 4.9  && < 5
                     , template-haskell >= 2.11 && < 2.25
                     , th-compat        >= 0.1  && < 0.2
  hs-source-dirs:      src
  default-language:    Haskell2010
  ghc-options:         -Wall

test-suite spec
  type:                exitcode-stdio-1.0
  main-is:             Spec.hs
  other-modules:       LiftGenericsSpec
                       Types
  build-depends:       base              >= 4.9   && < 5
                     , containers        >= 0.1   && < 0.9
                     , hspec             >= 2     && < 3
                     , lift-generics
                     , mtl               >= 2.1   && < 2.4
                     , template-haskell  >= 2.11  && < 2.25
                     , th-compat         >= 0.1   && < 0.2
                     , th-lift-instances >= 0.1   && < 0.2
  build-tool-depends:  hspec-discover:hspec-discover
  hs-source-dirs:      tests
  default-language:    Haskell2010
  ghc-options:         -Wall -threaded -rtsopts