version: 1.0.1

name:
  savage
author:
  Daniel Cartwright
maintainer:
  Daniel Cartwright <dcartwright@layer3com.com>
homepage:
  https://github.com/chessai/savage
bug-reports:
  https://github.com/chessai/savage/issues
synopsis:
  re-export of the random generators from Hedgehog
description:
  re-export of the random generators from Hedgehog:
  <https://github.com/hedgehogqa>
category:
  Testing
license:
  BSD3
license-file:
  LICENSE
cabal-version:
  >= 1.8
build-type:
  Simple
tested-with:
    GHC == 7.10.2
  , GHC == 7.10.3
  , GHC == 8.0.1
  , GHC == 8.0.2
extra-source-files:
  README.md
  CHANGELOG.md

source-repository head
  type: git
  location: git://github.com/chessai/savage.git

library
  build-depends:
      base                            >= 3          && < 5
    , ansi-terminal                   >= 0.6        && < 0.8
    , async                           >= 2.0        && < 2.2
    , bytestring                      >= 0.10       && < 0.11
    , concurrent-output               >= 1.7        && < 1.11
    , containers                      >= 0.4        && < 0.6
    , directory                       >= 1.2        && < 1.4
    , exceptions                      >= 0.7        && < 0.9
    , lifted-async                    >= 0.7        && < 0.10
    , mmorph                          >= 1.0        && < 1.2
    , monad-control                   >= 1.0        && < 1.1
    , mtl                             >= 2.1        && < 2.3
    , pretty-show                     >= 1.6        && < 1.7
    , primitive                       >= 0.6        && < 0.7
    , random                          >= 1.1        && < 1.2
    , resourcet                       >= 1.1        && < 1.2
    , stm                             >= 2.4        && < 2.5
    , template-haskell                >= 2.10       && < 2.13
    , text                            >= 1.1        && < 1.3
    , th-lift                         >= 0.7        && < 0.8
    , time                            >= 1.4        && < 1.9
    , transformers                    >= 0.5        && < 0.6
    , transformers-base               >= 0.4        && < 0.5
    , wl-pprint-annotated             >= 0.0        && < 0.2

  if impl(ghc < 8.0)
    build-depends:
      semigroups                      >= 0.16       && < 0.19

  if !os(windows)
    build-depends:
      unix                            >= 2.6        && < 2.8

  ghc-options:
    -Wall

  hs-source-dirs:
    src

  exposed-modules:
    Savage
    Savage.Randy
    Savage.Range

    Savage.Internal.Distributive
    Savage.Internal.Gen
    Savage.Internal.Range
    Savage.Internal.Seed
    Savage.Internal.Shrink
    Savage.Internal.Tree