packages feed

th-lift-instances-0.1: th-lift-instances.cabal

name:          th-lift-instances
version:       0.1
license:       BSD3
cabal-version: >= 1.10
license-file:  LICENSE
author:        Benno Fünfstück
maintainer:    Benno Fünfstück <benno.fuenfstueck@gmail.com>
stability:     experimental
homepage:      http://github.com/bennofs/th-lift-instances/
bug-reports:   http://github.com/bennofs/th-lift-instances/issues
copyright:     Copyright (C) 2013 Benno Fünfstück
synopsis:      Lift instances for template-hasell for common data types.
description:   Most data types in haskell platform do not have Lift instances. This package provides orphan instances
	       for containers, text and bytestring.
build-type:    Custom
category:      Template Haskell

extra-source-files:
  .ghci
  .gitignore
  .travis.yml
  .vim.custom
  README.md

source-repository head
  type: git
  location: https://github.com/bennofs/th-lift-instances.git

library
  hs-source-dirs: src
  default-language: Haskell2010
  ghc-options: -Wall -fwarn-tabs
  build-depends:
      base >= 4.4 && < 5
    , template-haskell
    , th-lift
    , containers == 0.5.*
    , vector == 0.10.*
    , text == 1.1.*
    , bytestring == 0.10.*
  exposed-modules:
    Instances.TH.Lift

test-suite tests
  type:    exitcode-stdio-1.0
  main-is: Main.hs
  default-language: Haskell2010
  build-depends:
      base
    , template-haskell
    , containers == 0.5.*
    , vector == 0.10.*
    , text == 1.1.*
    , bytestring == 0.10.*
    , th-lift-instances
    , QuickCheck >= 2.6 && < 2.8
  hs-source-dirs: tests

test-suite doctests
  type:    exitcode-stdio-1.0
  main-is: doctests.hs
  default-language: Haskell2010
  build-depends:
      base
    , directory >= 1.0
    , doctest >= 0.9.1
    , filepath
  ghc-options: -Wall -threaded
  if impl(ghc<7.6.1)
    ghc-options: -Werror
  hs-source-dirs: tests