Subject: [bug#28885] [PATCH 1/9] gnu: networking: Add czmq.

From: Christopher Baines <[email-masked]>
Date: Wed, 18 Oct 2017 07:03:28 +0100

* gnu/packages/networking.scm (czmq): New variable.
---
 gnu/packages/networking.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 633b8ca43..f4ce04244 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -260,6 +260,31 @@ filtering (subscriptions), seamless access to multiple transport protocols and
 more.")
     (license license:lgpl3+)))
 
+(define-public czmq
+  (package
+    (name "czmq")
+    (version "4.0.2")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "https://github.com/zeromq/" name
+                    "/releases/download/v" version
+                    "/" name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "12gbh57xnz2v82x1g80gv4bwapmyzl00lbin5ix3swyac8i7m340"))))
+    (build-system gnu-build-system)
+    (arguments
+     '(#:configure-flags '("--enable-drafts")))
+    (inputs
+     `(("zeromq" ,zeromq)))
+    (home-page "http://zeromq.org")
+    (synopsis "High-level C bindings for ØMQ")
+    (description
+     "czmq provides bindings for the ØMQ core API that hides the differences
+between different versions of ØMQ.")
+    (license license:mpl2.0)))
+
 (define-public librdkafka
   (package
     (name "librdkafka")
-- 
2.14.2