gnu: immer: Update to 0.8.1-0.df6ef46.

* gnu/packages/cpp.scm (immer): Update to 0.8.1-0.df6ef46
[native-inputs]: Remove catch2; add catch2-3.

Change-Id: I5c819cc0108739e9bf2eeae3bc73c70fd6d3b6d3
Signed-off-by: Andreas Enge <andreas@enge.fr>
This commit is contained in:
Zheng Junjie 2025-07-13 14:28:38 +08:00 committed by Andreas Enge
parent dbeb5fcf43
commit 27d0181488
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -2452,30 +2452,33 @@ provides a number of utilities to make coding with expected cleaner.")
(license license:cc0)))
(define-public immer
;; Use latest commit to fix build with gcc 14.
(let ((commit "df6ef46d97e1fe81f397015b9aeb32505cef653b")
(revision "0"))
(package
(name "immer")
(version "0.8.1")
(version (git-version "0.8.1" revision commit))
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/arximboldi/immer")
(commit (string-append "v" version))))
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32 "03qkr42h0g6rivj3kq207gzgnv7hq88y69q16l2vg1lbvjcgca2g"))))
(base32 "032rb84ahvdnc1m6sj4lflrwnk4p1f2jsq1pv03xbgizp2lr2pkx"))))
(build-system cmake-build-system)
(arguments (list #:test-target "check"
;; -Werror appears to report false positives.
;; See <https://github.com/arximboldi/immer/issues/223>.
#:configure-flags #~(list "-DDISABLE_WERROR=ON")))
(inputs (list boost libgc c-rrb))
(native-inputs (list catch2 doctest fmt pkg-config))
(native-inputs (list catch2-3 doctest fmt pkg-config))
(home-page "https://sinusoid.es/immer")
(synopsis "Immutable data structures")
(description "Immer is a library of persistent and immutable data structures
written in C++.")
(properties '((lint-hidden-cpe-vendors . ("immer_project"))))
(license license:boost1.0)))
(license license:boost1.0))))
(define-public zug
(package