name:
  hedgehog-servant
version:
  0.0.1.1
synopsis:
  Hedgehog property testing for Servant APIs
description:
  An adapter for using Hedgehog to create requests against Servant APIs.
bug-reports:
  https://github.com/felixmulder/hedgehog-servant
cabal-version:
  1.24
license:
  BSD3
license-file:
  LICENSE
author:
  Felix Mulder
maintainer:
  felix.mulder@gmail.com
copyright:
  Felix Mulder
category:
  testing
build-type:
  Simple
extra-source-files:
  README.md
  CHANGELOG.md

source-repository head
  type: git
  location: git://github.com/felixmulder/hedgehog-servant.git

library
  default-extensions:
    DataKinds
    DeriveGeneric
    FlexibleContexts
    FlexibleInstances
    GADTs
    KindSignatures
    MultiParamTypeClasses
    OverloadedStrings
    PolyKinds
    RankNTypes
    ScopedTypeVariables
    TypeApplications
    TypeOperators
    ViewPatterns

  ghc-options:
    -Wall -Wredundant-constraints -fhide-source-paths

  exposed-modules:
    Hedgehog.Servant

  build-depends:
      base                      >= 4.9      && < 5
    , bytestring                >= 0.10     && < 0.11
    , case-insensitive          >= 1.2      && < 1.3
    , hedgehog                  >= 0.6      && < 1.1
    , http-client               >= 0.5.14   && < 0.7
    , http-media                >= 0.8      && < 0.9
    , http-types                >= 0.12     && < 0.13
    , servant                   >= 0.16     && < 0.19
    , servant-client            >= 0.16     && < 0.19
    , servant-server            >= 0.16     && < 0.19
    , string-conversions        >= 0.4      && < 0.5
    , text                      >= 1.2      && < 1.3

  hs-source-dirs:
    src

  default-language:
    Haskell2010

test-suite hedgehog-servant-tests
  type:
    exitcode-stdio-1.0

  default-language:
    Haskell2010

  main-is:
    Main.hs

  ghc-options:
    -Wall -Wredundant-constraints -fhide-source-paths -threaded

  hs-source-dirs:
    test

  other-modules:
    Test.Hedgehog.Servant

  default-extensions:
    DataKinds
    DeriveGeneric
    DerivingStrategies
    FlexibleContexts
    FlexibleInstances
    GADTs
    GeneralizedNewtypeDeriving
    KindSignatures
    MultiParamTypeClasses
    OverloadedStrings
    PolyKinds
    RankNTypes
    ScopedTypeVariables
    TypeApplications
    TypeOperators
    ViewPatterns

  build-depends:
      hedgehog-servant

    , aeson                     >= 1.4      && < 1.5
    , base                      >= 4.9      && < 5
    , bytestring                >= 0.10     && < 0.11
    , case-insensitive          >= 1.2      && < 1.3
    , hedgehog                  >= 0.6      && < 1.1
    , http-client               >= 0.5.14   && < 0.7
    , http-media                >= 0.8      && < 0.9
    , http-types                >= 0.12     && < 0.13
    , servant                   >= 0.16     && < 0.19
    , servant-client            >= 0.16     && < 0.19
    , servant-server            >= 0.16     && < 0.19
    , string-conversions        >= 0.4      && < 0.5
    , text                      >= 1.2      && < 1.3