From 483cdf36a56e90d1a0a8ab77a59827f7382e6358 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 7 Jun 2021 16:19:37 +0200 Subject: [PATCH] gnu: cereal: Update to 1.3.0. * gnu/packages/serialization.scm (cereal): Update to 1.3.0. --- gnu/packages/serialization.scm | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/gnu/packages/serialization.scm b/gnu/packages/serialization.scm index 56847a5ddf..366f7d56f2 100644 --- a/gnu/packages/serialization.scm +++ b/gnu/packages/serialization.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2015, 2017, 2019 Ricardo Wurmus +;;; Copyright © 2015, 2017, 2019, 2021 Ricardo Wurmus ;;; Copyright © 2016 Lukas Gradl ;;; Copyright © 2016 David Craven ;;; Copyright © 2016, 2019, 2020 Marius Bakke @@ -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/")