File genvalidity.cabal of Package ghc-genvalidity

name: genvalidity
version: 0.3.2.0
x-revision: 1
cabal-version: >=1.10
build-type: Simple
license: MIT
license-file: LICENSE
copyright: Copyright: (c) 2016 Tom Sydney Kerckhove
maintainer: syd.kerckhove@gmail.com
homepage: https://github.com/NorfairKing/validity#readme
synopsis: Testing utilities for the validity library
description:
    Note: There are companion instance packages for this library:
    .
    * <https://hackage.haskell.org/package/genvalidity-text genvalidity-text>
    .
    * <https://hackage.haskell.org/package/genvalidity-time genvalidity-time>
    .
    * <https://hackage.haskell.org/package/genvalidity-containers genvalidity-containers>
    .
    * <https://hackage.haskell.org/package/genvalidity-path genvalidity-path>
category: Testing
author: Tom Sydney Kerckhove

source-repository head
    type: git
    location: https://github.com/NorfairKing/validity

library
    exposed-modules:
        Data.GenValidity
        Data.GenRelativeValidity
    build-depends:
        base >= 4.7 && <5,
        validity >=0.3.3 && <0.4,
        QuickCheck >=2.7 && <2.10
    default-language: Haskell2010
    hs-source-dirs: src
    if impl(ghc >= 8.0.0)
        ghc-options: -Wno-redundant-constraints

test-suite genvalidity-test
    type: exitcode-stdio-1.0
    main-is: Spec.hs
    build-depends:
        base -any,
        hspec -any,
        QuickCheck,
        genvalidity -any
    default-language: Haskell2010
    hs-source-dirs: test
    other-modules:
        Data.GenValiditySpec
    ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall -fno-warn-name-shadowing
openSUSE Build Service is sponsored by