guix-patches
[Top][All Lists]
Advanced

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

[bug#50835] [PATCH v2 05/24] gnu: Add ghc-gsasl.


From: Stephen Paul Weber
Subject: [bug#50835] [PATCH v2 05/24] gnu: Add ghc-gsasl.
Date: Thu, 13 Jan 2022 21:45:27 -0500

* gnu/packages/haskell-xyz.scm (ghc-gsasl): New variable.
---
 gnu/packages/haskell-xyz.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 71e06e26bd..3820964eeb 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -53,6 +53,7 @@
   #:use-module (gnu packages emacs)
   #:use-module (gnu packages gl)
   #:use-module (gnu packages graphviz)
+  #:use-module (gnu packages gsasl)
   #:use-module (gnu packages gtk)
   #:use-module (gnu packages haskell)
   #:use-module (gnu packages haskell-apps)
@@ -16175,3 +16176,31 @@ than the standard TCP connection.")
     (description "LibXML-SAX is a very simple and direct binding to libXML2's
 SAX parser.")
     (license license:expat)))
+
+(define-public ghc-gsasl
+  (package
+    (name "ghc-gsasl")
+    (version "0.3.7")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (string-append
+               "https://hackage.haskell.org/package/gsasl/gsasl-";
+               version
+               ".tar.gz"))
+        (sha256
+          (base32 "11i12r9s30jrq8hkgqagf2fd129r6ya607s9ibw549ablsxgr507"))))
+    (build-system haskell-build-system)
+    (arguments
+      `(#:cabal-revision
+        ("1" "1c806a82qd1hkxxfh1mwk0i062bz6fkaap5ys3n4x9n6wjv7ilin")))
+    (inputs
+      (list
+        ghc-monad-loops
+        gsasl))
+    (native-inputs `(("pkg-config" ,pkg-config)))
+    (home-page "https://git.singpolyma.net/gsasl-haskell";)
+    (synopsis "Bindings for GNU libgsasl")
+    (description
+      "This library provides low-level bindings for using gsasl from Haskell.")
+    (license license:gpl3)))
-- 
2.30.2





reply via email to

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