From 0acc1c68d68b75f76e77896c70ed7533b3ba5cd7 Mon Sep 17 00:00:00 2001 From: Liliana Marie Prikler Date: Tue, 9 Jul 2024 09:39:14 +0200 Subject: [PATCH] gnu: lager: Update to 0.1.1. * gnu/packages/cpp.scm (lager): Update to 0.1.1. Change-Id: Ied19cc6d5371cee9d97aa4dfb21a78f6d1582f10 --- gnu/packages/cpp.scm | 52 +++++++++++++++++++++----------------------- 1 file changed, 25 insertions(+), 27 deletions(-) diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index fe822e8311..a569a92bab 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -1839,35 +1839,33 @@ composable sequential transformations.") (license license:boost1.0))) (define-public lager - (let ((commit "2016df38be90ee176bcb73ea414be2318bc1ef31") - (revision "0")) - (package - (name "lager") - (version (git-version "0.0.0" revision commit)) - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/arximboldi/lager") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 "1b7zxwqrbm7db7wxqbsrk7jjd3znvvi1cwj7jg6zkmf0199071a5")))) - (build-system cmake-build-system) - (arguments (list #:test-target "check" - #:configure-flags #~(list "-Dlager_BUILD_EXAMPLES=no") - #:phases - #~(modify-phases %standard-phases - (add-after 'unpack 'delete-failing-tests - (lambda _ - (delete-file-recursively "test/event_loop")))))) - (inputs (list boost immer zug)) - (native-inputs (list cereal)) - (home-page "https://sinusoid.es/lager") - (synopsis "Library for value-oriented design") - (description "Lager is a library for value-oriented design implementing + (package + (name "lager") + (version "0.1.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/arximboldi/lager") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1by9d49qnkncifyjcq16zy605d7v4ps6hvc01q5nsp1nbswm94m4")))) + (build-system cmake-build-system) + (arguments (list #:test-target "check" + #:configure-flags #~(list "-Dlager_BUILD_EXAMPLES=no") + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'delete-failing-tests + (lambda _ + (delete-file-recursively "test/event_loop")))))) + (inputs (list boost immer zug)) + (native-inputs (list catch2 cereal)) + (home-page "https://sinusoid.es/lager") + (synopsis "Library for value-oriented design") + (description "Lager is a library for value-oriented design implementing the unidirectional data-flow architecture. Apart from a store and various event loops it also provides lenses and cursors.") - (license license:expat)))) + (license license:expat))) (define-public atomic-queue (package