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