Subject: [PATCH v2 09/24] gnu: Add ghc-network-protocol-xmpp.

From: Stephen Paul Weber <[email-masked]>
Date: Thu, 13 Jan 2022 21:45:31 -0500

* gnu/packages/haskell-xyz.scm (ghc-network-protocol-xmpp): New variable.
---
 gnu/packages/haskell-xyz.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 8c02385f26..cf96ca2633 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -16284,3 +16284,34 @@ SAX parser.")
       "Network Simple exports functions that abstract simple network socket
 usage patterns.")
     (license license:bsd-3)))
+
+(define-public ghc-network-protocol-xmpp
+  (package
+    (name "ghc-network-protocol-xmpp")
+    (version "0.4.10")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (string-append
+               "https://hackage.haskell.org/package/"
+               "network-protocol-xmpp/network-protocol-xmpp-"
+               version
+               ".tar.gz"))
+        (sha256
+          (base32 "03xlw8337lzwp7f5jvbvgirf546pfmfsfjvnik08qjjy1rfn5jji"))))
+    (build-system haskell-build-system)
+    (inputs
+      (list
+        ghc-gnuidn
+        ghc-gnutls
+        ghc-gsasl
+        ghc-libxml-sax
+        ghc-monads-tf
+        ghc-network
+        ghc-network-simple
+        ghc-xml-types))
+    (home-page "https://git.singpolyma.net/network-protocol-xmpp")
+    (synopsis "Client library for the XMPP protocol")
+    (description "Network-protocol-XMPP is a client or component library for XMPP.
+Does only what it needs to do and nothing more, no XEP wrappers etc.")
+    (license license:gpl3)))
-- 
2.30.2