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