Archived
1
0
Fork 0

gnu: cereal: Update to 1.3.0.

* gnu/packages/serialization.scm (cereal): Update to 1.3.0.
This commit is contained in:
Ricardo Wurmus 2021-06-07 16:19:37 +02:00
parent 9875dae429
commit 483cdf36a5
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU ;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2015, 2017, 2019 Ricardo Wurmus <rekado@elephly.net> ;;; Copyright © 2015, 2017, 2019, 2021 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2016 Lukas Gradl <lgradl@openmailbox.org> ;;; Copyright © 2016 Lukas Gradl <lgradl@openmailbox.org>
;;; Copyright © 2016 David Craven <david@craven.ch> ;;; Copyright © 2016 David Craven <david@craven.ch>
;;; Copyright © 2016, 2019, 2020 Marius Bakke <mbakke@fastmail.com> ;;; Copyright © 2016, 2019, 2020 Marius Bakke <mbakke@fastmail.com>
@ -90,7 +90,7 @@ implement RPC protocols.")
(define-public cereal (define-public cereal
(package (package
(name "cereal") (name "cereal")
(version "1.2.1") (version "1.3.0")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
@ -99,7 +99,8 @@ implement RPC protocols.")
(commit (string-append "v" version)))) (commit (string-append "v" version))))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 "1vxkrsnxkiblzi1z61vfix167c184fy868sgwj2dxxgbgjcq2nrh")))) (base32
"0hc8wh9dwpc1w1zf5lfss4vg5hmgpblqxbrpp1rggicpx9ar831p"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(arguments (arguments
`(;; The only included tests are portability tests requiring `(;; The only included tests are portability tests requiring
@ -113,9 +114,10 @@ implement RPC protocols.")
(replace 'build (replace 'build
(lambda _ (lambda _
(substitute* "doc/doxygen.in" (substitute* "doc/doxygen.in"
(("@CMAKE_CURRENT_BINARY_DIR@") ".")
(("@CMAKE_CURRENT_SOURCE_DIR@") ".")) (("@CMAKE_CURRENT_SOURCE_DIR@") "."))
(invoke "doxygen" "doc/doxygen.in") (with-directory-excursion "doc"
#t)) (invoke "doxygen" "doxygen.in"))))
;; There is no "install" target, so we have to provide our own ;; There is no "install" target, so we have to provide our own
;; "install" phase. ;; "install" phase.
(replace 'install (replace 'install
@ -126,8 +128,7 @@ implement RPC protocols.")
(mkdir-p doc) (mkdir-p doc)
(mkdir-p include) (mkdir-p include)
(copy-recursively "include/cereal" include) (copy-recursively "include/cereal" include)
(copy-recursively "doc/html" doc)) (copy-recursively "doc/html" doc)))))))
#t)))))
(native-inputs (native-inputs
`(("doxygen" ,doxygen))) `(("doxygen" ,doxygen)))
(home-page "https://uscilab.github.io/cereal/") (home-page "https://uscilab.github.io/cereal/")