[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/10: gnu: json-modern-cxx: Remove input labels.
From: |
guix-commits |
Subject: |
05/10: gnu: json-modern-cxx: Remove input labels. |
Date: |
Tue, 1 Feb 2022 17:50:24 -0500 (EST) |
mbakke pushed a commit to branch master
in repository guix.
commit 7ad2cfcc7227b0aeabeae4f2f89bb9631eb9ab98
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Sun Jan 30 17:40:01 2022 +0100
gnu: json-modern-cxx: Remove input labels.
* gnu/packages/cpp.scm (json-modern-cxx)[native-inputs]: Remove labels.
[arguments]: Use SEARCH-INPUT-FILE.
---
gnu/packages/cpp.scm | 28 ++++++++++++++--------------
1 file changed, 14 insertions(+), 14 deletions(-)
diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index 9927d79e37..5b4eee151f 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -528,7 +528,9 @@ as ordering relation.")
'(#:configure-flags
(list "-DJSON_MultipleHeaders=ON" ; For json_fwd.hpp.
(string-append "-DJSON_TestDataDirectory="
- (assoc-ref %build-inputs "json_test_data")))
+ (dirname
+ (search-input-directory %build-inputs
+ "json_nlohmann_tests"))))
#:phases (modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? parallel-tests? #:allow-other-keys)
@@ -540,19 +542,17 @@ as ordering relation.")
"1"))
(format #t "test suite not run~%")))))))
(native-inputs
- `(("amalgamate" ,amalgamate)
- ("doctest" ,doctest)
- ("json_test_data"
- ,(let ((version "3.0.0"))
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/nlohmann/json_test_data")
- (commit (string-append "v" version))))
- (file-name (git-file-name "json_test_data" version))
- (sha256
- (base32
- "0nzsjzlvk14dazwh7k2jb1dinb0pv9jbx5jsyn264wvva0y7daiv")))))))
+ (list amalgamate doctest
+ (let ((version "3.0.0"))
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/nlohmann/json_test_data")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name "json_test_data" version))
+ (sha256
+ (base32
+ "0nzsjzlvk14dazwh7k2jb1dinb0pv9jbx5jsyn264wvva0y7daiv"))))))
(inputs
(list fifo-map))
(synopsis "JSON parser and printer library for C++")
- branch master updated (01c925bf49 -> e301f1a8ed), guix-commits, 2022/02/01
- 01/10: gnu: json-modern-cxx: Update to 3.10.5., guix-commits, 2022/02/01
- 09/10: gnu: libomp: Update to 13.0.0., guix-commits, 2022/02/01
- 08/10: gnu: LLVM: Switch to 13 as the default., guix-commits, 2022/02/01
- 10/10: services: zabbix-frontend: Support custom server package., guix-commits, 2022/02/01
- 04/10: gnu: fifo-map: Fix cross-compilation., guix-commits, 2022/02/01
- 02/10: gnu: json-modern-cxx: Run tests in parallel., guix-commits, 2022/02/01
- 03/10: gnu: fifo-map: Use a release tag., guix-commits, 2022/02/01
- 05/10: gnu: json-modern-cxx: Remove input labels.,
guix-commits <=
- 06/10: gnu: json-modern-cxx: Fix cross-compilation., guix-commits, 2022/02/01
- 07/10: gnu: doctest: Update to 2.4.8., guix-commits, 2022/02/01