guix-patches
[Top][All Lists]
Advanced

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

[bug#31531] [PATCH 1/3] gnu: Add cppzmq.


From: Theodoros Foradis
Subject: [bug#31531] [PATCH 1/3] gnu: Add cppzmq.
Date: Sat, 19 May 2018 21:54:35 +0300

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

diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index eda2984d1..24cd31310 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -20,6 +20,7 @@
 ;;; Copyright © 2017 Thomas Danckaert <address@hidden>
 ;;; Copyright © 2018 Adam Van Ymeren <address@hidden>
 ;;; Copyright © 2018 Fis Trivial <address@hidden>
+;;; Copyright © 2018 Theodoros Foradis <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -312,6 +313,33 @@ more.")
 between different versions of ØMQ.")
     (license license:mpl2.0)))
 
+(define-public cppzmq
+  (package
+    (name "cppzmq")
+    (version "4.2.2")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "https://github.com/zeromq/"; name
+                    "/archive/v" version ".tar.gz"))
+              (sha256
+               (base32
+                "0zbk3726pvcl088qzl5z3cc0w0k5hh192l5jddnc0xsqmiq01x9y"))
+              (file-name (string-append name "-" version ".tar.gz"))))
+    (build-system cmake-build-system)
+    (arguments
+     '(#:tests? #f)) ;; No tests.
+    (native-inputs
+     `(("pkg-config" ,pkg-config)))
+    (inputs
+     `(("zeromq" ,zeromq)))
+    (home-page "http://zeromq.org";)
+    (synopsis "C++ bindings for ØMQ")
+    (description
+     "Header-only C++ bindings for ØMQ.  Contains direct mappings of the
+abstractions provided by the ØMQ C API.")
+    (license license:expat)))
+
 (define-public librdkafka
   (package
     (name "librdkafka")
-- 
2.16.2






reply via email to

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