mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 05:57:04 +01:00
gnu: Add ghc-servant-client.
* gnu/packages/haskell-xyz.scm (ghc-servant-client): New variable. Change-Id: I293433a3a5d184a4a015bc16d509e7b5a5ce7991 Signed-off-by: Lars-Dominik Braun <lars@6xq.net>
This commit is contained in:
parent
5fd105bf28
commit
179e45bada
1 changed files with 51 additions and 0 deletions
|
@ -16683,6 +16683,57 @@ (define-public ghc-servant
|
|||
CHANGELOG>")
|
||||
(license license:bsd-3)))
|
||||
|
||||
(define-public ghc-servant-client
|
||||
(package
|
||||
(name "ghc-servant-client")
|
||||
(version "0.19")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (hackage-uri "servant-client" version))
|
||||
(sha256
|
||||
(base32 "1bdapsr6il0f019ss8wsxndpc8cd5czj40xczay5qhl7fqnxg5pa"))))
|
||||
(build-system haskell-build-system)
|
||||
(properties '((upstream-name . "servant-client")))
|
||||
(inputs (list ghc-servant
|
||||
ghc-servant-client-core
|
||||
ghc-base-compat
|
||||
ghc-http-client
|
||||
ghc-http-media
|
||||
ghc-http-types
|
||||
ghc-kan-extensions
|
||||
ghc-monad-control
|
||||
ghc-semigroupoids
|
||||
ghc-transformers-base
|
||||
ghc-transformers-compat))
|
||||
(native-inputs (list ghc-aeson
|
||||
ghc-http-api-data
|
||||
ghc-sop-core
|
||||
ghc-wai
|
||||
ghc-warp
|
||||
ghc-entropy
|
||||
ghc-hspec
|
||||
ghc-hspec-discover
|
||||
ghc-hunit
|
||||
ghc-network
|
||||
ghc-quickcheck
|
||||
ghc-servant-server
|
||||
ghc-tdigest
|
||||
ghc-markdown-unlit))
|
||||
(arguments
|
||||
`(#:cabal-revision ("6"
|
||||
"0lakjnpvsiai08c5nddgzrnr0a139rr37cyq31hqcbwnsy553l1y")))
|
||||
(home-page "http://docs.servant.dev/")
|
||||
(synopsis "Automatic derivation of querying functions for servant")
|
||||
(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>.")
|
||||
(license license:bsd-3)))
|
||||
|
||||
(define-public ghc-servant-client-core
|
||||
(package
|
||||
(name "ghc-servant-client-core")
|
||||
|
|
Loading…
Reference in a new issue