From dd823172d86f82dedf8b0a7eb65925db4b164d26 Mon Sep 17 00:00:00 2001 From: Simon South Date: Fri, 28 Jan 2022 05:02:13 -0500 Subject: gnu: cppzmq: Update to 4.8.1. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/networking.scm (cppzmq)[version]: Update to 4.8.1. [arguments]: Update to run test suite except when cross-compiling. [inputs]: Add catch2-framework. Signed-off-by: Ludovic Courtès --- gnu/packages/networking.scm | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'gnu/packages/networking.scm') diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index 3aa3e9b8e9..3ae255e093 100644 --- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm @@ -1152,7 +1152,7 @@ between different versions of ØMQ.") (define-public cppzmq (package (name "cppzmq") - (version "4.6.0") + (version "4.8.1") (source (origin (method git-fetch) (uri (git-reference @@ -1160,19 +1160,15 @@ between different versions of ØMQ.") (commit (string-append "v" version)))) (sha256 (base32 - "19acx2bzi4n6fdnfgkja1nds7m1bwg8lw5vfcijrx9fv75pa7m8h")) + "0zzq20wzk5grshxfqhqgqqfwb38w3k83r821isvyaxghsglpwks3")) (file-name (git-file-name name version)))) (build-system cmake-build-system) (arguments - '(;; FIXME: The test suite requires downloading Catch and custom - ;; CMake targets, and refuses to use the system version. - ;; See . - #:tests? #f - #:configure-flags '("-DCPPZMQ_BUILD_TESTS=OFF"))) + `(#:tests? ,(not (%current-target-system)))) ; run unless cross-compiling (native-inputs (list pkg-config)) (inputs - (list zeromq)) + (list catch-framework2 zeromq)) (home-page "https://zeromq.org") (synopsis "C++ bindings for the ØMQ messaging library") (description -- cgit v1.2.3