guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/04: gnu: Add ghc-servant-client-core.


From: guix-commits
Subject: 02/04: gnu: Add ghc-servant-client-core.
Date: Sat, 30 Nov 2024 08:26:47 -0500 (EST)

lbraun pushed a commit to branch master
in repository guix.

commit 5fd105bf285250af02670b0a9a4615e2b458861d
Author: Matthias Riße <matrss@0px.xyz>
AuthorDate: Sat Nov 30 10:10:46 2024 +0100

    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>
---
 gnu/packages/haskell-xyz.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 30a674b080..afbedcba78 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]