[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/09: gnu: chaiscript: Fix tests.
From: |
guix-commits |
Subject: |
04/09: gnu: chaiscript: Fix tests. |
Date: |
Thu, 31 Aug 2023 06:03:24 -0400 (EDT) |
iyzsong pushed a commit to branch master
in repository guix.
commit 436d9487da3dde2fa094e0c08e02749f61876fe7
Author: 宋文武 <iyzsong@member.fsf.org>
AuthorDate: Tue Aug 29 18:40:24 2023 +0800
gnu: chaiscript: Fix tests.
* gnu/packages/cpp.scm (chaiscript)[source]: Add snippet.
[inputs]: Add catch2.
---
gnu/packages/cpp.scm | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index 3b949198c7..2f8cc2ce25 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -509,8 +509,17 @@ library for SIMD (Single Instruction, Multiple Data) with
runtime dispatch.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "0i1c88rn1wwz8nf3dpapcdkk4w623m3nksfy5yjai10k9irkzy3c"))))
+ (base32 "0i1c88rn1wwz8nf3dpapcdkk4w623m3nksfy5yjai10k9irkzy3c"))
+ (modules '((guix build utils)))
+ ;; It's bundled catch2 fails to build.
+ (snippet '(begin
+ (delete-file "unittests/catch.hpp")
+ (substitute* "unittests/compiled_tests.cpp"
+ (("catch[.]hpp") "catch2/catch.hpp"))
+ (substitute* "unittests/type_info_test.cpp"
+ (("catch[.]hpp") "catch2/catch.hpp"))))))
(build-system cmake-build-system)
+ (inputs (list catch2))
(home-page "https://chaiscript.com/")
(synopsis "Embedded scripting language designed for C++")
(description
- branch master updated (d6966b8a5b -> 299d0463d5), guix-commits, 2023/08/31
- 07/09: gnu: vtk-7: Fix build., guix-commits, 2023/08/31
- 01/09: gnu: pencil2d: Fix tests., guix-commits, 2023/08/31
- 05/09: gnu: btar: Fix build., guix-commits, 2023/08/31
- 02/09: gnu: cssc: Fix tests., guix-commits, 2023/08/31
- 06/09: gnu: kanshi: Update to 1.4.0., guix-commits, 2023/08/31
- 08/09: gnu: xkcdpass: Update to 1.19.4., guix-commits, 2023/08/31
- 04/09: gnu: chaiscript: Fix tests.,
guix-commits <=
- 03/09: gnu: src: Update to 1.32., guix-commits, 2023/08/31
- 09/09: gnu: upx: Update to 4.1.0., guix-commits, 2023/08/31