guix-commits
[Top][All Lists]
Advanced

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

02/03: gnu: valeronoi: Unbundle catch2 header.


From: guix-commits
Subject: 02/03: gnu: valeronoi: Unbundle catch2 header.
Date: Tue, 17 Oct 2023 04:43:41 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 58452ecdb4e474cfbf09d6afdd2d58e5828061d3
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Oct 17 11:20:18 2023 +0300

    gnu: valeronoi: Unbundle catch2 header.
    
    * gnu/packages/engineering.scm (valeroni)[source]: Add snippet to remove
    bundled header.
    [native-inputs]: Add catch2.
---
 gnu/packages/engineering.scm | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index f118af0f13..e30face9e1 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -1369,7 +1369,13 @@ the 'showing the effect of'-style of operation.")
        (commit (string-append "v" version))))
      (file-name (git-file-name name version))
      (sha256
-      (base32 "1qkhrqkjsmm0h1bxf2ihkqfhdr18xx5x1i2ds1mla13zm0bw2570"))))
+      (base32 "1qkhrqkjsmm0h1bxf2ihkqfhdr18xx5x1i2ds1mla13zm0bw2570"))
+     (snippet
+      #~(begin (use-modules (guix build utils))
+               (delete-file-recursively "3rdparty")
+               (substitute* '("tests/test_colormap.cpp"
+                              "tests/test_main.cpp")
+                (("catch\\.hpp") "catch2/catch.hpp"))))))
   (build-system cmake-build-system)
   (arguments
    `(#:phases
@@ -1387,6 +1393,8 @@ the 'showing the effect of'-style of operation.")
          openssl
          qtbase
          qtsvg))
+  (native-inputs
+   (list catch2))
   (home-page "https://github.com/ccoors/Valeronoi";)
   (synopsis "WiFi mapping companion application for Valetudo")
   (description



reply via email to

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