diff mbox series

[bug#50835,5/8] gnu: Add ghc-gsasl.

Message ID 20210927021033.17700-5-singpolyma@singpolyma.net
State New
Headers show
Series New Haskell packages: cache, redis client, xmpp | expand

Checks

Context Check Description
cbaines/applying patch fail View Laminar job
cbaines/issue success View issue
cbaines/applying patch fail View Laminar job
cbaines/issue success View issue
cbaines/applying patch fail View Laminar job
cbaines/issue success View issue

Commit Message

Stephen Paul Weber Sept. 27, 2021, 2:10 a.m. UTC
* gnu/packages/haskell-xyz.scm (ghc-gsasl): New variable.
---
 gnu/packages/haskell-xyz.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 0e00bc0605..a385d3109e 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -52,6 +52,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)
@@ -15854,3 +15855,29 @@  than the standard TCP connection.")
     (synopsis "Bindings for the libXML2 SAX interface")
     (description "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
+      `(("ghc-monad-loops" ,ghc-monad-loops)
+        ("gsasl" ,gsasl)))
+    (native-inputs `(("pkg-config" ,pkg-config)))
+    (home-page "https://git.singpolyma.net/gsasl-haskell")
+    (synopsis "Bindings for GNU libgsasl")
+    (description "Low-level bindings for using gsasl from Haskell.")
+    (license license:gpl3)))