guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/06: gnu: immer: Update to 0.8.1.


From: guix-commits
Subject: 01/06: gnu: immer: Update to 0.8.1.
Date: Sun, 28 Jan 2024 02:16:12 -0500 (EST)

lilyp pushed a commit to branch master
in repository guix.

commit edaa752321d31d99b4dd0a50f7665d4651cfd3d8
Author: Liliana Marie Prikler <liliana.prikler@gmail.com>
AuthorDate: Sat Jan 20 18:44:13 2024 +0100

    gnu: immer: Update to 0.8.1.
    
    * gnu/packages/cpp.scm (immer): Update to 0.8.1.
    [source]: Drop modules and snippet.
    [arguments]: Add #:configure-flags to disable -Werror.
---
 gnu/packages/cpp.scm | 19 ++++++-------------
 1 file changed, 6 insertions(+), 13 deletions(-)

diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index 44175231af..62a1923571 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -1622,7 +1622,7 @@ provides a number of utilities to make coding with 
expected cleaner.")
 (define-public immer
   (package
    (name "immer")
-   (version "0.8.0")
+   (version "0.8.1")
    (source (origin
             (method git-fetch)
             (uri (git-reference
@@ -1630,19 +1630,12 @@ provides a number of utilities to make coding with 
expected cleaner.")
                   (commit (string-append "v" version))))
             (file-name (git-file-name name version))
             (sha256
-             (base32 "11km3l5h3rgsbj8yfyzk3fnx9na55l6zs2sxpx922yvlvs2blh27"))
-            (modules '((guix build utils)))
-            (snippet #~(begin
-                         (delete-file "tools/include/doctest.h")
-                         (delete-file "tools/include/catch.hpp")
-                         (substitute* (find-files "test" "\\.[cih]pp")
-                           (("<catch.hpp>") "<catch2/catch.hpp>")
-                           (("<doctest.h>") "<doctest/doctest.h>"))
-                         (substitute* (find-files "test/oss-fuzz" "\\.cpp")
-                           ;; someone used the wrong header :)
-                           (("<fmt/printf.h>") "<fmt/ostream.h>"))))))
+             (base32 "03qkr42h0g6rivj3kq207gzgnv7hq88y69q16l2vg1lbvjcgca2g"))))
    (build-system cmake-build-system)
-   (arguments (list #:test-target "check"))
+   (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))
    (home-page "https://sinusoid.es/immer";)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]