packages feed

smallcheck-kind-generics-0.0.0.1: smallcheck-kind-generics.cabal

cabal-version:       2.4
name:                smallcheck-kind-generics
version:             0.0.0.1
synopsis:            See README for more info
description:         See README for more info
homepage:            https://github.com/strake/smallcheck-kind-generics.hs
bug-reports:         https://github.com/strake/smallcheck-kind-generics.hs/issues
license:             BSD-3-Clause
license-file:        LICENSE
author:              M Farkas-Dyck
maintainer:          strake888@gmail.com
copyright:           2020 M Farkas-Dyck
category:            Generics, Testing
build-type:          Simple
extra-doc-files:     README.md
                   , CHANGELOG.md
tested-with:         GHC == 8.6.5

common c
  build-depends:       base ^>= 4.12 || ^>= 4.13
  ghc-options:         
                     -Wall
                     -Wcompat
                     -Wredundant-constraints
                     -Wno-name-shadowing
                     -Wno-unticked-promoted-constructors
                     -Wincomplete-uni-patterns
                     -Wincomplete-record-updates
                     -Werror=incomplete-patterns
                     -Werror=incomplete-uni-patterns
                     -Werror=incomplete-record-updates
                     -Werror=missing-fields
                     -Werror=missing-methods
  default-language:    Haskell2010
  default-extensions:  UnicodeSyntax
                       LambdaCase
                       EmptyCase
                       InstanceSigs
                       PartialTypeSignatures
                       PolyKinds
                       ConstraintKinds
                       FlexibleContexts
                       FlexibleInstances
                       MonadComprehensions
                       StandaloneDeriving
                       DeriveFunctor
                       DeriveFoldable
                       DeriveTraversable

library
  import:              c
  hs-source-dirs:      src
  exposed-modules:     Test.SmallCheck.GenericK
  build-depends:       kind-generics ^>= 0.4
                     , kind-generics-th ^>= 0.2.1
                     , smallcheck ^>= 1.1.5

test-suite test
  import:              c
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  main-is:             Spec.hs
  build-depends:       smallcheck-kind-generics
  ghc-options:         -threaded
                       -rtsopts
                       -with-rtsopts=-N

benchmark bench
  import:              c
  type:                exitcode-stdio-1.0
  hs-source-dirs:      bench
  main-is:             Main.hs
  build-depends:       gauge
                     , smallcheck-kind-generics
  ghc-options:         -threaded
                       -rtsopts
                       -with-rtsopts=-N

source-repository head
  type:                git
  location:            https://github.com/strake/smallcheck-kind-generics.hs.git