aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorLiliana Marie Prikler <liliana.prikler@gmail.com>2023-04-29 10:28:39 +0200
committerLiliana Marie Prikler <liliana.prikler@gmail.com>2023-04-29 10:28:39 +0200
commit3676e312aaf1ce10ed1d7844e871b54e04624098 (patch)
treecfd6f7865d0df471bf1cd98eb8cc2f667ac11c90 /gnu
parent4884ee6dd4b1694a4a502dd8058d6c61fa0c0199 (diff)
downloadguix-3676e312aaf1ce10ed1d7844e871b54e04624098.tar
guix-3676e312aaf1ce10ed1d7844e871b54e04624098.tar.gz
gnu: libpotassco: Unbundle catch.
This patch incidentally fixes a build failure caused by the bundled catch. * gnu/packages/potassco.scm (libpotassco)[source]: Unbundle catch. [native-inputs]: Add catch2-1.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/potassco.scm7
1 files changed, 7 insertions, 0 deletions
diff --git a/gnu/packages/potassco.scm b/gnu/packages/potassco.scm
index 386ff62f0c..6e7855793f 100644
--- a/gnu/packages/potassco.scm
+++ b/gnu/packages/potassco.scm
@@ -51,6 +51,12 @@
(url "https://github.com/potassco/libpotassco")
(commit commit)))
(file-name (git-file-name name version))
+ (modules '((guix build utils)))
+ (snippet
+ #~(begin
+ (delete-file "tests/catch.hpp")
+ (substitute* (find-files "tests" "\\.cpp")
+ (("\"catch.hpp\"") "<catch/catch.hpp>"))))
(sha256
(base32
"1c32f9gqclf7qx07lpx8wd720vfhkjqhzc6nyy8mjmgwpmb3iyyn"))))
@@ -72,6 +78,7 @@
(rename-file "cmake/PotasscoConfig.cmake.in"
"cmake/potassco-config.cmake.in"))))))
(build-system cmake-build-system)
+ (native-inputs (list catch2-1))
(home-page "https://potassco.org/")
(synopsis "Utility library for Potassco's projects")
(description "@code{libpotassco} is a utility library providing functions