packages feed

deriving-compat-0.1: deriving-compat.cabal

name:                deriving-compat
version:             0.1
synopsis:            Backports of GHC deriving extensions
description:         Provides Template Haskell functions that mimic deriving
                     extensions that were introduced or modified in recent versions
                     of GHC. Currently, the following extensions are covered:
                     .
                     * @DeriveFoldable@, which was changed in GHC 7.12 to allow folding
                       over data types with existential constraints.
homepage:            https://github.com/haskell-compat/deriving-compat
bug-reports:         https://github.com/haskell-compat/deriving-compat/issues
license:             BSD3
license-file:        LICENSE
author:              Ryan Scott
maintainer:          Ryan Scott <ryan.gl.scott@ku.edu>
stability:           Experimental
copyright:           (C) 2015 Ryan Scott
category:            Compatibility
build-type:          Simple
extra-source-files:  CHANGELOG.md, README.md
cabal-version:       >=1.10

source-repository head
  type:                git
  location:            https://github.com/haskell-compat/deriving-compat

library
  exposed-modules:     Data.Foldable.Deriving
  other-modules:       Data.Deriving.Internal
                       Paths_deriving_compat
  build-depends:       base             >= 4.3 && < 5
                     , containers       >= 0.1 && < 0.6
                     , ghc-prim
                     , template-haskell >= 2.5 && < 2.11
  hs-source-dirs:      src
  default-language:    Haskell2010
  ghc-options:         -Wall

test-suite spec
  type:                exitcode-stdio-1.0
  main-is:             Spec.hs
  other-modules:       FoldableSpec
  build-depends:       base            >= 4.3   && < 5
                     , base-compat     >= 0.8.1 && < 1
                     , deriving-compat == 0.1
                     , hspec           >= 1.8
                     , QuickCheck      >= 2     && < 3
  hs-source-dirs:      tests
  default-language:    Haskell2010
  ghc-options:         -Wall