gnu: valeronoi: Unbundle catch2 header.

* gnu/packages/engineering.scm (valeroni)[source]: Add snippet to remove
bundled header.
[native-inputs]: Add catch2.
This commit is contained in:
Efraim Flashner 2023-10-17 11:20:18 +03:00
parent 047589b166
commit 58452ecdb4
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -1369,7 +1369,13 @@ (define-public valeronoi
(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 @@ (define-public valeronoi
openssl
qtbase
qtsvg))
(native-inputs
(list catch2))
(home-page "https://github.com/ccoors/Valeronoi")
(synopsis "WiFi mapping companion application for Valetudo")
(description