packages feed

pqc-0.4: pqc.cabal

name:                pqc
version:             0.4
description:         Parallel batch driver for QuickCheck
synopsis:            Parallel batch driver for QuickCheck
category:            Testing
license:             BSD3
license-file:        LICENSE
Author:              Don Stewart
Maintainer:          shelarcy <shelarcy@gmail.com>
homepage:            http://darcsden.com/shelarcy/pqc
build-type: Simple
Cabal-Version: >= 1.10

source-repository head
   type: darcs
   location: http://darcsden.com/shelarcy/pqc

flag split-base

library
  if flag(split-base)
    build-depends:     base >= 3 && < 5, random, QuickCheck > 2.1 && < 3
  else
    build-depends:     base < 3, QuickCheck > 2.1 && < 3
  default-language: Haskell2010
  exposed-modules:  Test.QuickCheck.Parallel
  ghc-options:      -Wall -O2

Test-Suite Example
  type:       exitcode-stdio-1.0
  main-is:    Example.hs
  buildable:       False
  hs-source-dirs:  examples
  default-language: Haskell2010
  build-depends:    base < 5, pqc
  -- for GHC 7.4.1 with pRunAllProcessors
  -- ghc-options:      -threaded
  -- for GHC 7.2.1 or higher
  -- ghc-options:      -threaded -with-rtsopts=-N
  -- for GHC 7.0.x
  ghc-options:      -threaded -rtsopts -with-rtsopts=-N