2014-11-27 18:28:01 +01:00
|
|
|
name: servant-client
|
2015-07-27 22:26:49 +02:00
|
|
|
version: 0.5
|
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.
|
|
|
|
.
|
2015-05-11 10:43:52 +02:00
|
|
|
See <http://haskell-servant.github.io/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
|
2016-01-05 05:05:05 +01:00
|
|
|
extra-source-files: include/*.h
|
2014-11-27 18:28:01 +01:00
|
|
|
cabal-version: >=1.10
|
|
|
|
tested-with: GHC >= 7.8
|
2014-12-08 11:10:51 +01:00
|
|
|
homepage: http://haskell-servant.github.io/
|
2015-04-20 15:55:41 +02:00
|
|
|
Bug-reports: http://github.com/haskell-servant/servant/issues
|
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
|
2015-07-27 22:26:49 +02:00
|
|
|
, servant == 0.5.*
|
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
|
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
|
|
|
|
ghc-options:
|
|
|
|
-Wall -fno-warn-name-shadowing -fno-warn-missing-signatures
|
|
|
|
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
|
2015-07-27 22:26:49 +02:00
|
|
|
, servant == 0.5.*
|
2014-11-27 18:28:01 +01:00
|
|
|
, servant-client
|
2015-07-27 22:26:49 +02:00
|
|
|
, servant-server == 0.5.*
|
2015-02-24 23:56:06 +01:00
|
|
|
, text
|
2014-11-27 18:28:01 +01:00
|
|
|
, wai
|
|
|
|
, warp
|