mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
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.
This commit is contained in:
parent
4884ee6dd4
commit
3676e312aa
1 changed files with 7 additions and 0 deletions
|
@ -51,6 +51,12 @@ (define-public libpotassco
|
|||
(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 @@ (define-public libpotassco
|
|||
(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
|
||||
|
|
Loading…
Reference in a new issue