2014-11-27 18:28:01 +01:00
|
|
|
name: servant-client
|
2016-04-15 10:02:57 +02:00
|
|
|
version: 0.7
|
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:
|
|
|
|
base >=4.7 && <5
|
|
|
|
, aeson
|
|
|
|
, attoparsec
|
2016-02-17 20:12:47 +01:00
|
|
|
, base64-bytestring
|
2014-11-27 18:28:01 +01:00
|
|
|
, bytestring
|
|
|
|
, exceptions
|
2015-12-03 14:08:36 +01:00
|
|
|
, http-api-data >= 0.1 && < 0.3
|
2014-11-27 18:28:01 +01:00
|
|
|
, http-client
|
2015-01-22 23:18:13 +01:00
|
|
|
, http-client-tls
|
2015-02-17 00:05:39 +01:00
|
|
|
, http-media
|
2014-11-27 18:28:01 +01:00
|
|
|
, http-types
|
|
|
|
, network-uri >= 2.6
|
|
|
|
, safe
|
2016-04-15 10:02:57 +02:00
|
|
|
, servant == 0.7.*
|
2014-11-27 18:28:01 +01:00
|
|
|
, string-conversions
|
|
|
|
, text
|
|
|
|
, transformers
|
2015-09-12 15:28:20 +02:00
|
|
|
, transformers-compat
|
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
|