2014-11-27 18:28:01 +01:00
|
|
|
name: servant-client
|
2017-05-14 20:41:39 +02:00
|
|
|
version: 0.11
|
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
|
2017-07-25 09:46:57 +02:00
|
|
|
category: Servant, Web
|
2014-11-27 18:28:01 +01:00
|
|
|
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
|
2017-08-28 18:36:05 +02:00
|
|
|
Servant.Client.HttpClient
|
2016-11-21 10:56:47 +01:00
|
|
|
Servant.Client.Generic
|
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:
|
2017-06-07 15:40:01 +02:00
|
|
|
base >= 4.7 && < 4.11
|
2016-10-15 23:43:21 +02:00
|
|
|
, base-compat >= 0.9.1 && < 0.10
|
2017-04-17 20:35:20 +02:00
|
|
|
, aeson >= 0.7 && < 1.3
|
2016-07-06 21:55:26 +02:00
|
|
|
, attoparsec >= 0.12 && < 0.14
|
|
|
|
, base64-bytestring >= 1.0.0.1 && < 1.1
|
|
|
|
, bytestring >= 0.10 && < 0.11
|
|
|
|
, exceptions >= 0.8 && < 0.9
|
2017-04-29 14:39:25 +02:00
|
|
|
, generics-sop >= 0.1.0.0 && < 0.4
|
2017-05-14 18:33:21 +02:00
|
|
|
, http-api-data >= 0.3.6 && < 0.4
|
2016-07-09 13:31:58 +02:00
|
|
|
, http-client >= 0.4.18.1 && < 0.6
|
|
|
|
, http-client-tls >= 0.2.2 && < 0.4
|
2017-06-27 20:59:01 +02:00
|
|
|
, http-media >= 0.6.2 && < 0.8
|
2016-07-06 21:55:26 +02:00
|
|
|
, http-types >= 0.8.6 && < 0.10
|
2017-01-16 08:51:27 +01:00
|
|
|
, monad-control >= 1.0.0.4 && < 1.1
|
2016-07-06 21:55:26 +02:00
|
|
|
, network-uri >= 2.6 && < 2.7
|
|
|
|
, safe >= 0.3.9 && < 0.4
|
2017-04-23 20:02:51 +02:00
|
|
|
, semigroupoids >= 4.3 && < 5.3
|
2017-05-14 20:41:39 +02:00
|
|
|
, servant == 0.11.*
|
2016-07-06 21:55:26 +02:00
|
|
|
, string-conversions >= 0.3 && < 0.5
|
|
|
|
, text >= 1.2 && < 1.3
|
|
|
|
, transformers >= 0.3 && < 0.6
|
2017-01-16 08:51:27 +01:00
|
|
|
, transformers-base >= 0.4.4 && < 0.5
|
2016-07-06 21:55:26 +02:00
|
|
|
, transformers-compat >= 0.4 && < 0.6
|
2016-09-08 00:03:44 +02:00
|
|
|
, mtl
|
2017-01-19 18:05:01 +01:00
|
|
|
if !impl(ghc >= 8.0)
|
|
|
|
build-depends:
|
|
|
|
semigroups >=0.16.2.2 && <0.19
|
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.*
|
|
|
|
, aeson
|
2017-01-16 10:44:25 +01:00
|
|
|
, base-compat
|
2014-11-27 18:28:01 +01:00
|
|
|
, bytestring
|
|
|
|
, deepseq
|
|
|
|
, hspec == 2.*
|
2016-09-02 02:24:49 +02:00
|
|
|
, http-api-data
|
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
|
2017-01-16 10:44:25 +01:00
|
|
|
, mtl
|
2014-11-27 18:28:01 +01:00
|
|
|
, network >= 2.6
|
2015-01-01 23:43:29 +01:00
|
|
|
, QuickCheck >= 2.7
|
2017-05-14 20:41:39 +02:00
|
|
|
, servant
|
2014-11-27 18:28:01 +01:00
|
|
|
, servant-client
|
2017-05-14 20:41:39 +02:00
|
|
|
, servant-server == 0.11.*
|
2015-02-24 23:56:06 +01:00
|
|
|
, text
|
2017-01-16 10:44:25 +01:00
|
|
|
, transformers
|
|
|
|
, transformers-compat
|
2014-11-27 18:28:01 +01:00
|
|
|
, wai
|
|
|
|
, warp
|
2016-11-21 12:27:11 +01:00
|
|
|
, generics-sop
|