gnu: Add ghc-servant-client-core.

* gnu/packages/haskell-xyz.scm (ghc-servant-client-core): New variable.

Change-Id: I26373f05da6fdba95b7791959e18e6577c3f5f37
Signed-off-by: Lars-Dominik Braun <lars@6xq.net>
This commit is contained in:
Matthias Riße 2024-11-30 10:10:46 +01:00 committed by Lars-Dominik Braun
parent 0fe8772269
commit 5fd105bf28
No known key found for this signature in database
GPG key ID: F663943E08D8092A

View file

@ -16683,6 +16683,41 @@ serving them . You can learn about the basics in the
CHANGELOG>")
(license license:bsd-3)))
(define-public ghc-servant-client-core
(package
(name "ghc-servant-client-core")
(version "0.19")
(source
(origin
(method url-fetch)
(uri (hackage-uri "servant-client-core" version))
(sha256
(base32 "0cisc5cyl367cwrch1gr812aspd36a21hkwi6mwj708rpspwvrmc"))))
(build-system haskell-build-system)
(properties '((upstream-name . "servant-client-core")))
(inputs (list ghc-constraints
ghc-servant
ghc-aeson
ghc-base-compat
ghc-base64-bytestring
ghc-free
ghc-http-media
ghc-http-types
ghc-network-uri
ghc-safe
ghc-sop-core))
(native-inputs (list ghc-hspec ghc-hspec-discover ghc-quickcheck))
(arguments
`(#:cabal-revision ("5"
"147ws71hwp8zck7ph8kcyh18524s8g0b7qvxjsvsm1yvw77c60gh")))
(home-page "http://docs.servant.dev/")
(synopsis
"Core functionality and class for client function generation for servant APIs")
(description
"This library provides backend-agnostic generation of client functions. For more
information, see the README.")
(license license:bsd-3)))
(define-public ghc-servant-server
(package
(name "ghc-servant-server")