2016-04-22 14:00:23 +03:00
|
|
|
name: servant-quickcheck
|
2018-02-09 17:33:06 +03:00
|
|
|
version: 0.0.6.0
|
2016-04-22 14:00:23 +03:00
|
|
|
synopsis: QuickCheck entire APIs
|
|
|
|
description:
|
|
|
|
This packages provides QuickCheck properties that are tested across an entire
|
|
|
|
API.
|
|
|
|
|
|
|
|
license: BSD3
|
|
|
|
license-file: LICENSE
|
|
|
|
author: Julian K. Arni
|
|
|
|
maintainer: jkarni@gmail.com
|
|
|
|
category: Web
|
|
|
|
build-type: Simple
|
|
|
|
cabal-version: >=1.10
|
2016-08-29 01:22:51 +03:00
|
|
|
extra-source-files:
|
2016-09-14 16:13:37 +03:00
|
|
|
CHANGELOG.yaml
|
2017-11-07 15:51:13 +03:00
|
|
|
tested-with:
|
|
|
|
GHC==7.10.3,
|
|
|
|
GHC==8.0.2,
|
2018-02-09 17:33:06 +03:00
|
|
|
GHC==8.2.2
|
2016-09-14 16:13:37 +03:00
|
|
|
|
|
|
|
source-repository head
|
|
|
|
type: git
|
|
|
|
location: https://github.com/haskell-servant/servant-quickcheck
|
2016-04-22 14:00:23 +03:00
|
|
|
|
|
|
|
flag long-tests
|
|
|
|
description: Run more QuickCheck tests
|
|
|
|
default: False
|
|
|
|
|
|
|
|
library
|
|
|
|
exposed-modules: Servant.QuickCheck
|
|
|
|
, Servant.QuickCheck.Internal
|
|
|
|
, Servant.QuickCheck.Internal.Predicates
|
2016-04-23 02:21:36 +03:00
|
|
|
, Servant.QuickCheck.Internal.HasGenRequest
|
2016-04-22 14:00:23 +03:00
|
|
|
, Servant.QuickCheck.Internal.QuickCheck
|
2016-04-23 13:05:47 +03:00
|
|
|
, Servant.QuickCheck.Internal.Equality
|
2016-08-28 19:32:48 +03:00
|
|
|
, Servant.QuickCheck.Internal.ErrorTypes
|
2017-11-07 15:51:13 +03:00
|
|
|
build-depends: base >=4.8 && <4.11
|
2016-05-09 18:49:29 +03:00
|
|
|
, base-compat == 0.9.*
|
2016-10-03 17:30:46 +03:00
|
|
|
, aeson > 0.8 && < 2
|
2016-04-22 14:00:23 +03:00
|
|
|
, bytestring == 0.10.*
|
2016-08-29 02:50:42 +03:00
|
|
|
, case-insensitive == 1.2.*
|
2016-10-04 20:09:23 +03:00
|
|
|
, clock >= 0.7 && < 0.8
|
2016-09-14 15:37:14 +03:00
|
|
|
, data-default-class >= 0.0 && < 0.2
|
2017-10-16 03:00:04 +03:00
|
|
|
, hspec >= 2.2 && < 2.5
|
2016-10-03 17:30:46 +03:00
|
|
|
, http-client >= 0.4.30 && < 0.6
|
2017-11-07 15:51:13 +03:00
|
|
|
, http-media >= 0.6 && <0.8
|
2018-02-09 17:33:06 +03:00
|
|
|
, http-types > 0.8 && < 0.13
|
2016-08-29 02:50:42 +03:00
|
|
|
, mtl > 2.1 && < 2.3
|
|
|
|
, pretty == 1.1.*
|
2017-11-07 15:51:13 +03:00
|
|
|
, process >= 1.2 && < 1.7
|
2018-02-09 17:33:06 +03:00
|
|
|
, QuickCheck > 2.7 && < 2.12
|
|
|
|
, servant >= 0.13 && < 0.14
|
|
|
|
, servant-client >= 0.13 && < 0.14
|
|
|
|
, servant-server >= 0.13 && < 0.14
|
2016-04-23 23:02:49 +03:00
|
|
|
, split == 0.2.*
|
2016-08-29 02:50:42 +03:00
|
|
|
, string-conversions > 0.3 && < 0.5
|
|
|
|
, temporary == 1.2.*
|
2016-04-23 15:20:31 +03:00
|
|
|
, text == 1.*
|
2017-11-07 15:51:13 +03:00
|
|
|
, time >= 1.5 && < 1.9
|
2016-08-29 02:50:42 +03:00
|
|
|
, warp >= 3.2.4 && < 3.3
|
2016-05-09 18:24:04 +03:00
|
|
|
|
2016-04-22 14:00:23 +03:00
|
|
|
hs-source-dirs: src
|
|
|
|
default-extensions: TypeOperators
|
|
|
|
, FlexibleInstances
|
|
|
|
, FlexibleContexts
|
|
|
|
, DataKinds
|
|
|
|
, GADTs
|
|
|
|
, MultiParamTypeClasses
|
|
|
|
, DeriveFunctor
|
2016-04-23 02:21:36 +03:00
|
|
|
, KindSignatures
|
2016-04-22 14:00:23 +03:00
|
|
|
, RankNTypes
|
|
|
|
, ConstraintKinds
|
|
|
|
, DeriveGeneric
|
2016-04-23 02:21:36 +03:00
|
|
|
, ScopedTypeVariables
|
|
|
|
, OverloadedStrings
|
2016-04-23 18:08:48 +03:00
|
|
|
, FunctionalDependencies
|
2016-05-09 18:49:29 +03:00
|
|
|
, NoImplicitPrelude
|
2016-08-29 02:50:42 +03:00
|
|
|
, DeriveDataTypeable
|
2016-04-22 14:00:23 +03:00
|
|
|
default-language: Haskell2010
|
|
|
|
|
|
|
|
test-suite spec
|
|
|
|
type: exitcode-stdio-1.0
|
2016-05-09 18:59:37 +03:00
|
|
|
ghc-options: -Wall -threaded
|
2016-04-22 14:00:23 +03:00
|
|
|
default-language: Haskell2010
|
|
|
|
hs-source-dirs: test
|
|
|
|
main-is: Spec.hs
|
|
|
|
other-modules: Servant.QuickCheck.InternalSpec
|
2017-11-08 14:02:46 +03:00
|
|
|
build-tool-depends: hspec-discover:hspec-discover
|
2016-04-22 14:00:23 +03:00
|
|
|
build-depends: base == 4.*
|
2016-05-09 18:59:37 +03:00
|
|
|
, base-compat
|
2017-07-16 18:51:17 +03:00
|
|
|
, aeson
|
2016-04-22 14:00:23 +03:00
|
|
|
, servant-quickcheck
|
2016-10-18 15:38:44 +03:00
|
|
|
, bytestring
|
2016-04-22 14:00:23 +03:00
|
|
|
, hspec
|
2016-08-01 17:58:10 +03:00
|
|
|
, hspec-core
|
2016-04-22 14:00:23 +03:00
|
|
|
, http-client
|
2017-10-22 01:20:56 +03:00
|
|
|
, blaze-html
|
2016-04-22 14:00:23 +03:00
|
|
|
, warp
|
|
|
|
, servant-server
|
|
|
|
, servant-client
|
2016-04-23 22:43:03 +03:00
|
|
|
, servant
|
2017-10-22 01:20:56 +03:00
|
|
|
, servant-blaze
|
2016-04-22 14:00:23 +03:00
|
|
|
, transformers
|
|
|
|
, QuickCheck
|
2016-04-23 02:21:36 +03:00
|
|
|
, quickcheck-io
|
2016-04-22 14:00:23 +03:00
|
|
|
default-extensions: TypeOperators
|
|
|
|
, FlexibleInstances
|
|
|
|
, FlexibleContexts
|
2016-08-01 17:58:10 +03:00
|
|
|
, GADTs
|
2016-04-22 14:00:23 +03:00
|
|
|
, DataKinds
|
2016-05-09 18:59:37 +03:00
|
|
|
, NoImplicitPrelude
|
2016-08-01 17:58:10 +03:00
|
|
|
, OverloadedStrings
|
|
|
|
, ScopedTypeVariables
|
2016-04-22 14:00:23 +03:00
|
|
|
if flag(long-tests)
|
|
|
|
cpp-options: -DLONG_TESTS
|
2018-02-09 17:33:06 +03:00
|
|
|
|
|
|
|
test-suite example
|
|
|
|
type: exitcode-stdio-1.0
|
|
|
|
main-is: Main.hs
|
|
|
|
hs-source-dirs:
|
|
|
|
example
|
|
|
|
ghc-options: -Wall
|
|
|
|
build-depends:
|
|
|
|
base
|
|
|
|
, hspec
|
|
|
|
, servant-server
|
|
|
|
, servant-quickcheck
|
|
|
|
, text
|
|
|
|
default-language: Haskell2010
|