-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update from Hackage at 2020-07-31T18:38:09Z
- Loading branch information
1 parent
68df042
commit edb0920
Showing
10 changed files
with
742 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,115 @@ | ||
cabal-version: >=1.10 | ||
name: servant-client-core | ||
version: 0.18 | ||
|
||
synopsis: Core functionality and class for client function generation for servant APIs | ||
category: Servant, Web | ||
description: | ||
This library provides backend-agnostic generation of client functions. For | ||
more information, see the README. | ||
|
||
homepage: http://docs.servant.dev/ | ||
bug-reports: http://github.com/haskell-servant/servant/issues | ||
license: BSD3 | ||
license-file: LICENSE | ||
author: Servant Contributors | ||
maintainer: haskell-servant-maintainers@googlegroups.com | ||
copyright: 2014-2016 Zalora South East Asia Pte Ltd, 2016-2019 Servant Contributors | ||
build-type: Simple | ||
tested-with: | ||
GHC ==8.0.2 | ||
|| ==8.2.2 | ||
|| ==8.4.4 | ||
|| ==8.6.5 | ||
|| ==8.8.3 | ||
|| ==8.10.1 | ||
, GHCJS == 8.4 | ||
|
||
extra-source-files: | ||
CHANGELOG.md | ||
README.md | ||
|
||
source-repository head | ||
type: git | ||
location: http://github.com/haskell-servant/servant.git | ||
|
||
library | ||
exposed-modules: | ||
Servant.Client.Core | ||
Servant.Client.Free | ||
Servant.Client.Generic | ||
Servant.Client.Core.Reexport | ||
Servant.Client.Core.Auth | ||
Servant.Client.Core.BaseUrl | ||
Servant.Client.Core.BasicAuth | ||
Servant.Client.Core.ClientError | ||
Servant.Client.Core.HasClient | ||
Servant.Client.Core.Request | ||
Servant.Client.Core.Response | ||
Servant.Client.Core.RunClient | ||
|
||
other-modules: | ||
Servant.Client.Core.Internal | ||
|
||
-- Bundled with GHC: Lower bound to not force re-installs | ||
-- text and mtl are bundled starting with GHC-8.4 | ||
-- | ||
-- note: mtl lower bound is so low because of GHC-7.8 | ||
build-depends: | ||
base >= 4.9 && < 4.15 | ||
, bytestring >= 0.10.8.1 && < 0.11 | ||
, containers >= 0.5.7.1 && < 0.7 | ||
, deepseq >= 1.4.2.0 && < 1.5 | ||
, text >= 1.2.3.0 && < 1.3 | ||
, transformers >= 0.5.2.0 && < 0.6 | ||
, template-haskell >= 2.11.1.0 && < 2.17 | ||
|
||
if !impl(ghc >= 8.2) | ||
build-depends: | ||
bifunctors >= 5.5.3 && < 5.6 | ||
|
||
-- Servant dependencies | ||
build-depends: | ||
servant >= 0.18 && <0.19 | ||
|
||
-- Other dependencies: Lower bound around what is in the latest Stackage LTS. | ||
-- Here can be exceptions if we really need features from the newer versions. | ||
build-depends: | ||
aeson >= 1.4.1.0 && < 1.6 | ||
, base-compat >= 0.10.5 && < 0.12 | ||
, base64-bytestring >= 1.0.0.1 && < 1.1 | ||
, exceptions >= 0.10.0 && < 0.11 | ||
, free >= 5.1 && < 5.2 | ||
, http-media >= 0.7.1.3 && < 0.9 | ||
, http-types >= 0.12.2 && < 0.13 | ||
, network-uri >= 2.6.1.0 && < 2.7 | ||
, safe >= 0.3.17 && < 0.4 | ||
|
||
hs-source-dirs: src | ||
default-language: Haskell2010 | ||
ghc-options: -Wall | ||
|
||
test-suite spec | ||
type: exitcode-stdio-1.0 | ||
ghc-options: -Wall | ||
default-language: Haskell2010 | ||
hs-source-dirs: test | ||
main-is: Spec.hs | ||
other-modules: | ||
Servant.Client.Core.Internal.BaseUrlSpec | ||
Servant.Client.Core.RequestSpec | ||
|
||
-- Dependencies inherited from the library. No need to specify bounds. | ||
build-depends: | ||
base | ||
, base-compat | ||
, servant-client-core | ||
|
||
-- Additional dependencies | ||
build-depends: | ||
deepseq >= 1.4.2.0 && < 1.5 | ||
, hspec >= 2.6.0 && < 2.8 | ||
, QuickCheck >= 2.12.6.1 && < 2.14 | ||
|
||
build-tool-depends: | ||
hspec-discover:hspec-discover >= 2.6.0 && <2.8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"package-hashes":{"MD5":"4e9b7b1913a27df649abadb3e5d08d11","Skein512_512":"e0594bf430a6aa853aa96bd400dc356ff91d0ea323b52623bc53ca1b12b150b7c17601c8751aa72fac667ac7096eb5d6e60b77bebce287b1df4334896fded222","SHA1":"658648b41761dbf4ffdbdb87bca2bb575f6a7c3f","SHA512":"1abc91bb1ccc00a7d2c62db628921ce05e7c7326d60af60cbb3e0bf4f1d00c65ca312cc2b73227a9ead94e19467efa5649bc397bb0e8157d05552859fd4f13c7","SHA256":"16e6213755e3d009773b9495fc579957983bc5e228e8ad76019f0c1f658f13a5"},"package-locations":["https://hackage.haskell.org/package/servant-client-core-0.18/servant-client-core-0.18.tar.gz","https://s3.amazonaws.com/hackage.fpcomplete.com/package/servant-client-core-0.18.tar.gz"],"package-size":17974} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,144 @@ | ||
cabal-version: >=1.10 | ||
name: servant-client | ||
version: 0.18 | ||
|
||
synopsis: Automatic derivation of querying functions for servant | ||
category: Servant, Web | ||
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. | ||
. | ||
See <http://docs.servant.dev/en/stable/tutorial/Client.html the client section of the tutorial>. | ||
. | ||
<https://github.com/haskell-servant/servant/blob/master/servant-client/CHANGELOG.md CHANGELOG> | ||
|
||
homepage: http://docs.servant.dev/ | ||
bug-reports: http://github.com/haskell-servant/servant/issues | ||
license: BSD3 | ||
license-file: LICENSE | ||
author: Servant Contributors | ||
maintainer: haskell-servant-maintainers@googlegroups.com | ||
copyright: 2014-2016 Zalora South East Asia Pte Ltd, 2016-2019 Servant Contributors | ||
build-type: Simple | ||
tested-with: | ||
GHC ==8.0.2 | ||
|| ==8.2.2 | ||
|| ==8.4.4 | ||
|| ==8.6.5 | ||
|| ==8.8.3 | ||
|| ==8.10.1 | ||
|
||
extra-source-files: | ||
CHANGELOG.md | ||
README.md | ||
|
||
source-repository head | ||
type: git | ||
location: http://github.com/haskell-servant/servant.git | ||
|
||
library | ||
exposed-modules: | ||
Servant.Client | ||
Servant.Client.Streaming | ||
Servant.Client.Internal.HttpClient | ||
Servant.Client.Internal.HttpClient.Streaming | ||
|
||
-- Bundled with GHC: Lower bound to not force re-installs | ||
-- text and mtl are bundled starting with GHC-8.4 | ||
build-depends: | ||
base >= 4.9 && < 4.15 | ||
, bytestring >= 0.10.8.1 && < 0.11 | ||
, containers >= 0.5.7.1 && < 0.7 | ||
, deepseq >= 1.4.2.0 && < 1.5 | ||
, mtl >= 2.2.2 && < 2.3 | ||
, stm >= 2.4.5.1 && < 2.6 | ||
, text >= 1.2.3.0 && < 1.3 | ||
, time >= 1.6.0.1 && < 1.10 | ||
, transformers >= 0.5.2.0 && < 0.6 | ||
|
||
if !impl(ghc >= 8.2) | ||
build-depends: | ||
bifunctors >= 5.5.3 && < 5.6 | ||
|
||
-- Servant dependencies. | ||
-- Strict dependency on `servant-client-core` as we re-export things. | ||
build-depends: | ||
servant == 0.18.* | ||
, servant-client-core >= 0.18 && <0.18.1 | ||
|
||
-- Other dependencies: Lower bound around what is in the latest Stackage LTS. | ||
-- Here can be exceptions if we really need features from the newer versions. | ||
build-depends: | ||
base-compat >= 0.10.5 && < 0.12 | ||
, http-client >= 0.5.13.1 && < 0.7 | ||
, http-media >= 0.7.1.3 && < 0.9 | ||
, http-types >= 0.12.2 && < 0.13 | ||
, exceptions >= 0.10.0 && < 0.11 | ||
, kan-extensions >= 5.2 && < 5.3 | ||
, monad-control >= 1.0.2.3 && < 1.1 | ||
, semigroupoids >= 5.3.1 && < 5.4 | ||
, transformers-base >= 0.4.5.2 && < 0.5 | ||
, transformers-compat >= 0.6.2 && < 0.7 | ||
|
||
hs-source-dirs: src | ||
default-language: Haskell2010 | ||
ghc-options: -Wall -Wno-redundant-constraints | ||
|
||
test-suite spec | ||
type: exitcode-stdio-1.0 | ||
ghc-options: -Wall -rtsopts -threaded "-with-rtsopts=-T -N2" | ||
default-language: Haskell2010 | ||
hs-source-dirs: test | ||
main-is: Spec.hs | ||
other-modules: | ||
Servant.BasicAuthSpec | ||
Servant.ClientTestUtils | ||
Servant.ConnectionErrorSpec | ||
Servant.FailSpec | ||
Servant.GenAuthSpec | ||
Servant.HoistClientSpec | ||
Servant.StreamSpec | ||
Servant.SuccessSpec | ||
Servant.WrappedApiSpec | ||
|
||
-- Dependencies inherited from the library. No need to specify bounds. | ||
build-depends: | ||
base | ||
, aeson | ||
, base-compat | ||
, bytestring | ||
, http-api-data | ||
, http-client | ||
, http-types | ||
, mtl | ||
, kan-extensions | ||
, servant-client | ||
, servant-client-core | ||
, stm | ||
, text | ||
, transformers | ||
, transformers-compat | ||
, wai | ||
, warp | ||
|
||
-- Additional dependencies | ||
build-depends: | ||
entropy >= 0.4.1.3 && < 0.5 | ||
, hspec >= 2.6.0 && < 2.8 | ||
, HUnit >= 1.6.0.0 && < 1.7 | ||
, network >= 2.8.0.0 && < 3.2 | ||
, QuickCheck >= 2.12.6.1 && < 2.14 | ||
, servant == 0.18.* | ||
, servant-server == 0.18.* | ||
, tdigest >= 0.2 && < 0.3 | ||
|
||
build-tool-depends: | ||
hspec-discover:hspec-discover >= 2.6.0 && < 2.8 | ||
|
||
test-suite readme | ||
type: exitcode-stdio-1.0 | ||
main-is: README.lhs | ||
build-depends: base, servant, http-client, text, servant-client, markdown-unlit | ||
build-tool-depends: markdown-unlit:markdown-unlit | ||
ghc-options: -pgmL markdown-unlit | ||
default-language: Haskell2010 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"package-hashes":{"MD5":"2d4004989b3c00ba9a35c272ef8cfa7b","Skein512_512":"45fd9b601c53c1aac5752008c8f41e54e8e2447064f5cb433b34cd23d05671a36716ba397fd38c7896bb7ab05d76e18451b4bcbff5c6fb969f0ebd32f2538130","SHA1":"a815f2dbdc9cd2f81c2b14bfe39dd384b933e48c","SHA512":"a8db2242216667e6f7227b8f8803b21f711044de901f91ddfe212299836bab8926ded89bcc044f9c34814e947338aa43eded1effacc55182a713c5f99f67322e","SHA256":"31a483e773ce2d05755f2cf704394b0d0acbfaaa89457ef0cded2ae2a662a09e"},"package-locations":["https://hackage.haskell.org/package/servant-client-0.18/servant-client-0.18.tar.gz","https://s3.amazonaws.com/hackage.fpcomplete.com/package/servant-client-0.18.tar.gz"],"package-size":19101} |
Oops, something went wrong.