Archived
1
0
Fork 0

gnu: cppzmq: Update to 4.6.0.

* gnu/packages/networking.scm (cppzmq): Update to 4.6.0.
[arguments]: Add #:configure-flags.
This commit is contained in:
Marius Bakke 2020-03-14 11:31:03 +01:00
parent 6d84566e5e
commit a92a93c9a4
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -23,7 +23,7 @@
;;; Copyright © 2018 Tonton <tonton@riseup.net> ;;; Copyright © 2018 Tonton <tonton@riseup.net>
;;; Copyright © 2018 Clément Lassieur <clement@lassieur.org> ;;; Copyright © 2018 Clément Lassieur <clement@lassieur.org>
;;; Copyright © 2018 Theodoros Foradis <theodoros@foradis.org> ;;; Copyright © 2018 Theodoros Foradis <theodoros@foradis.org>
;;; Copyright © 2018 Marius Bakke <mbakke@fastmail.com> ;;; Copyright © 2018, 2020 Marius Bakke <mbakke@fastmail.com>
;;; Copyright © 2018, 2020 Oleg Pykhalov <go.wigust@gmail.com> ;;; Copyright © 2018, 2020 Oleg Pykhalov <go.wigust@gmail.com>
;;; Copyright © 2018 Pierre Neidhardt <mail@ambrevar.xyz> ;;; Copyright © 2018 Pierre Neidhardt <mail@ambrevar.xyz>
;;; Copyright © 2019 Maxim Cournoyer <maxim.cournoyer@gmail.com> ;;; Copyright © 2019 Maxim Cournoyer <maxim.cournoyer@gmail.com>
@ -342,33 +342,35 @@ between different versions of ØMQ.")
(license license:mpl2.0))) (license license:mpl2.0)))
(define-public cppzmq (define-public cppzmq
(let ((revision "0") (package
(commit "d9f0f016c07046742738c65e1eb84722ae32d7d4")) (name "cppzmq")
(package (version "4.6.0")
(name "cppzmq") (source (origin
(version (string-append "4.2.2-" revision "." (method git-fetch)
(string-take commit 7))) (uri (git-reference
(source (origin (url "https://github.com/zeromq/cppzmq")
(method git-fetch) (commit (string-append "v" version))))
(uri (git-reference (sha256
(url "https://github.com/zeromq/cppzmq") (base32
(commit commit))) "19acx2bzi4n6fdnfgkja1nds7m1bwg8lw5vfcijrx9fv75pa7m8h"))
(sha256 (file-name (git-file-name name version))))
(base32 (build-system cmake-build-system)
"1gmqlm00y6xpa5m6d4ajq3ww63n2w7h4sy997wj81vcqmqx45b1f")) (arguments
(file-name (string-append name "-" version "-checkout")))) '(;; FIXME: The test suite requires downloading Catch and custom
(build-system cmake-build-system) ;; CMake targets, and refuses to use the system version.
(arguments '(#:tests? #f)) ; No tests. ;; See <https://github.com/zeromq/cppzmq/issues/334>.
(native-inputs #:tests? #f
`(("pkg-config" ,pkg-config))) #:configure-flags '("-DCPPZMQ_BUILD_TESTS=OFF")))
(inputs (native-inputs
`(("zeromq" ,zeromq))) `(("pkg-config" ,pkg-config)))
(home-page "http://zeromq.org") (inputs
(synopsis "C++ bindings for the ØMQ messaging library") `(("zeromq" ,zeromq)))
(description (home-page "http://zeromq.org")
"This package provides header-only C++ bindings for ØMQ. The header (synopsis "C++ bindings for the ØMQ messaging library")
(description
"This package provides header-only C++ bindings for ØMQ. The header
files contain direct mappings of the abstractions provided by the ØMQ C API.") files contain direct mappings of the abstractions provided by the ØMQ C API.")
(license license:expat)))) (license license:expat)))
(define-public librdkafka (define-public librdkafka
(package (package