From 58452ecdb4e474cfbf09d6afdd2d58e5828061d3 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 17 Oct 2023 11:20:18 +0300 Subject: 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 -- cgit v1.2.3 5192cf'>diff
path: root/tests/style.scm
AgeCommit message (Expand)Author
2021-07-11Add 'guix style'....* guix/scripts/style.scm, tests/style.scm: New files. * Makefile.am (MODULES, SCM_TESTS): Add them. * po/guix/POTFILES.in: Add 'guix/scripts/style.scm'. * doc/guix.texi (Invoking guix style): New node. (package Reference): Reference it. (Invoking guix lint): Likewise. Ludovic Courtès