2014-11-27 18:28:01 +01:00
|
|
|
name: servant-client
|
2016-05-05 05:34:01 +02:00
|
|
|
version: 0.7.1
|
2014-12-10 16:51:05 +01:00
|
|
|
synopsis: automatical derivation of querying functions for servant webservices
|
2014-12-08 11:10:51 +01:00
|
|
|
description:
|
|
|
|
This library lets you derive automatically Haskell functions that
|
|
|
|
let you query each endpoint of a <http://hackage.haskell.org/package/servant servant> webservice.
|
|
|
|
.
|
2016-04-21 12:22:54 +02:00
|
|
|
See <http://haskell-servant.readthedocs.org/en/stable/tutorial/Client.html the client section of the tutorial>.
|
2015-04-20 16:00:51 +02:00
|
|
|
.
|
|
|
|
<https://github.com/haskell-servant/servant/blob/master/servant-client/CHANGELOG.md CHANGELOG>
|
2014-11-27 18:28:01 +01:00
|
|
|
license: BSD3
|
|
|
|
license-file: LICENSE
|
2016-01-20 16:58:29 +01:00
|
|
|
author: Servant Contributors
|
|
|
|
maintainer: haskell-servant-maintainers@googlegroups.com
|
|
|
|
copyright: 2014-2016 Zalora South East Asia Pte Ltd, Servant Contributors
|
2014-11-27 18:28:01 +01:00
|
|
|
category: Web
|
|
|
|
build-type: Simple
|
|
|
|
cabal-version: >=1.10
|
|
|
|
tested-with: GHC >= 7.8
|
2016-04-21 12:22:54 +02:00
|
|
|
homepage: http://haskell-servant.readthedocs.org/
|
2015-04-20 15:55:41 +02:00
|
|
|
Bug-reports: http://github.com/haskell-servant/servant/issues
|
2016-04-16 15:51:38 +02:00
|
|
|
extra-source-files:
|
|
|
|
include/*.h
|
|
|
|
CHANGELOG.md
|
|
|
|
README.md
|
2014-12-08 11:10:51 +01:00
|
|
|
source-repository head
|
|
|
|
type: git
|
2015-04-20 15:55:41 +02:00
|
|
|
location: http://github.com/haskell-servant/servant.git
|
2014-11-27 18:28:01 +01:00
|
|
|
|
|
|
|
library
|
|
|
|
exposed-modules:
|
|
|
|
Servant.Client
|
2016-03-06 22:23:55 +01:00
|
|
|
Servant.Client.Experimental.Auth
|
2014-11-27 18:28:01 +01:00
|
|
|
Servant.Common.BaseUrl
|
2016-02-17 20:12:47 +01:00
|
|
|
Servant.Common.BasicAuth
|
2014-11-27 18:28:01 +01:00
|
|
|
Servant.Common.Req
|
|
|
|
build-depends:
|
2016-07-06 21:55:26 +02:00
|
|
|
base >= 4.7 && < 4.10
|
|
|
|
, aeson >= 0.7 && < 0.12
|
|
|
|
, attoparsec >= 0.12 && < 0.14
|
|
|
|
, base64-bytestring >= 1.0.0.1 && < 1.1
|
|
|
|
, bytestring >= 0.10 && < 0.11
|
|
|
|
, exceptions >= 0.8 && < 0.9
|
|
|
|
, http-api-data >= 0.1 && < 0.3
|
2016-07-09 13:31:58 +02:00
|
|
|
, http-client >= 0.4.18.1 && < 0.6
|
|
|
|
, http-client-tls >= 0.2.2 && < 0.4
|
2016-07-06 21:55:26 +02:00
|
|
|
, http-media >= 0.6.2 && < 0.7
|
|
|
|
, http-types >= 0.8.6 && < 0.10
|
|
|
|
, network-uri >= 2.6 && < 2.7
|
|
|
|
, safe >= 0.3.9 && < 0.4
|
|
|
|
, servant == 0.7.*
|
|
|
|
, string-conversions >= 0.3 && < 0.5
|
|
|
|
, text >= 1.2 && < 1.3
|
|
|
|
, transformers >= 0.3 && < 0.6
|
|
|
|
, transformers-compat >= 0.4 && < 0.6
|
2014-11-27 18:28:01 +01:00
|
|
|
hs-source-dirs: src
|
|
|
|
default-language: Haskell2010
|
2014-12-08 11:10:51 +01:00
|
|
|
ghc-options: -Wall
|
2016-04-22 08:32:39 +02:00
|
|
|
if impl(ghc >= 8.0)
|
|
|
|
ghc-options: -Wno-redundant-constraints
|
2015-12-27 17:54:29 +01:00
|
|
|
include-dirs: include
|
2014-11-27 18:28:01 +01:00
|
|
|
|
|
|
|
test-suite spec
|
|
|
|
type: exitcode-stdio-1.0
|
2016-04-18 12:07:23 +02:00
|
|
|
ghc-options: -Wall
|
2014-11-27 18:28:01 +01:00
|
|
|
default-language: Haskell2010
|
|
|
|
hs-source-dirs: test
|
|
|
|
main-is: Spec.hs
|
2015-05-26 12:07:44 +02:00
|
|
|
other-modules:
|
|
|
|
Servant.ClientSpec
|
|
|
|
, Servant.Common.BaseUrlSpec
|
2014-11-27 18:28:01 +01:00
|
|
|
build-depends:
|
|
|
|
base == 4.*
|
2015-09-12 14:11:24 +02:00
|
|
|
, transformers
|
2015-09-12 15:28:20 +02:00
|
|
|
, transformers-compat
|
2014-11-27 18:28:01 +01:00
|
|
|
, aeson
|
|
|
|
, bytestring
|
|
|
|
, deepseq
|
|
|
|
, hspec == 2.*
|
2015-03-08 23:59:40 +01:00
|
|
|
, http-client
|
2015-02-17 00:32:15 +01:00
|
|
|
, http-media
|
2014-11-27 18:28:01 +01:00
|
|
|
, http-types
|
2015-03-16 01:12:11 +01:00
|
|
|
, HUnit
|
2014-11-27 18:28:01 +01:00
|
|
|
, network >= 2.6
|
2015-01-01 23:43:29 +01:00
|
|
|
, QuickCheck >= 2.7
|
2016-04-15 10:02:57 +02:00
|
|
|
, servant == 0.7.*
|
2014-11-27 18:28:01 +01:00
|
|
|
, servant-client
|
2016-04-15 10:02:57 +02:00
|
|
|
, servant-server == 0.7.*
|
2015-02-24 23:56:06 +01:00
|
|
|
, text
|
2014-11-27 18:28:01 +01:00
|
|
|
, wai
|
|
|
|
, warp
|