2014-11-27 18:28:01 +01:00
|
|
|
name: servant-client
|
2016-04-01 15:19:05 +02:00
|
|
|
version: 0.6
|
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
|
2015-11-25 10:31:58 +01:00
|
|
|
other-modules:
|
|
|
|
Servant.Client.PerformRequest
|
2016-01-05 00:15:24 +01:00
|
|
|
Servant.Client.PerformRequest.Base
|
2015-11-25 10:31:58 +01:00
|
|
|
if impl(ghcjs)
|
|
|
|
other-modules:
|
|
|
|
Servant.Client.PerformRequest.GHCJS
|
|
|
|
else
|
|
|
|
other-modules:
|
|
|
|
Servant.Client.PerformRequest.GHC
|
2014-11-27 18:28:01 +01:00
|
|
|
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
|
2016-04-05 14:19:21 +02:00
|
|
|
, case-insensitive
|
2014-11-27 18:28:01 +01:00
|
|
|
, 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-01 15:19:05 +02:00
|
|
|
, servant == 0.6.*
|
2014-11-27 18:28:01 +01:00
|
|
|
, string-conversions
|
|
|
|
, text
|
|
|
|
, transformers
|
2015-09-12 15:28:20 +02:00
|
|
|
, transformers-compat
|
2015-11-25 10:31:58 +01:00
|
|
|
if impl(ghcjs)
|
|
|
|
build-depends:
|
|
|
|
ghcjs-base
|
|
|
|
, ghcjs-prim
|
2014-11-27 18:28:01 +01:00
|
|
|
hs-source-dirs: src
|
|
|
|
default-language: Haskell2010
|
2016-01-04 17:59:28 +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
|
2016-01-05 00:15:24 +01:00
|
|
|
hs-source-dirs: test, src
|
2014-11-27 18:28:01 +01:00
|
|
|
main-is: Spec.hs
|
2015-05-26 12:07:44 +02:00
|
|
|
other-modules:
|
|
|
|
Servant.ClientSpec
|
2016-01-05 00:15:24 +01:00
|
|
|
, Servant.Client.PerformRequest.GHCJSSpec
|
2015-11-25 10:31:58 +01:00
|
|
|
, Servant.Client.TestServer
|
2016-04-06 10:58:44 +02:00
|
|
|
, Servant.Client.TestServer.Types
|
|
|
|
, Servant.Common.BaseUrl
|
2015-05-26 12:07:44 +02:00
|
|
|
, Servant.Common.BaseUrlSpec
|
2015-11-25 10:31:58 +01:00
|
|
|
, Spec
|
|
|
|
if impl(ghcjs)
|
|
|
|
other-modules:
|
|
|
|
Servant.Client.TestServer.GHCJS
|
|
|
|
else
|
|
|
|
other-modules:
|
|
|
|
Servant.Client.TestServer.GHC
|
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
|
2016-04-05 14:19:21 +02:00
|
|
|
, base64-bytestring
|
2014-11-27 18:28:01 +01:00
|
|
|
, bytestring
|
|
|
|
, deepseq
|
2015-11-25 10:31:58 +01:00
|
|
|
, hspec >= 2.2.1 && < 2.3
|
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-01 15:19:05 +02:00
|
|
|
, servant == 0.6.*
|
|
|
|
, servant-server == 0.6.*
|
2015-02-24 23:56:06 +01:00
|
|
|
, text
|
2014-11-27 18:28:01 +01:00
|
|
|
, wai
|
|
|
|
, warp
|
2015-11-25 10:31:58 +01:00
|
|
|
, mockery
|
|
|
|
, safe
|
|
|
|
, process
|
2016-01-05 00:15:24 +01:00
|
|
|
, http-api-data
|
|
|
|
, network-uri
|
|
|
|
, exceptions
|
|
|
|
, string-conversions
|
|
|
|
if impl(ghcjs)
|
|
|
|
build-depends:
|
|
|
|
ghcjs-base
|
|
|
|
, ghcjs-prim
|
|
|
|
, case-insensitive
|
2016-04-05 14:19:21 +02:00
|
|
|
include-dirs: include
|