me
/
guix
Archived
1
0
Fork 0

gnu: json-modern-cxx: Remove input labels.

* gnu/packages/cpp.scm (json-modern-cxx)[native-inputs]: Remove labels.
[arguments]: Use SEARCH-INPUT-FILE.
master
Marius Bakke 2022-01-30 17:40:01 +01:00
parent 018d2c1243
commit 7ad2cfcc72
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 14 additions and 14 deletions

View File

@ -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,10 +542,8 @@ as ordering relation.")
"1"))
(format #t "test suite not run~%")))))))
(native-inputs
`(("amalgamate" ,amalgamate)
("doctest" ,doctest)
("json_test_data"
,(let ((version "3.0.0"))
(list amalgamate doctest
(let ((version "3.0.0"))
(origin
(method git-fetch)
(uri (git-reference
@ -552,7 +552,7 @@ as ordering relation.")
(file-name (git-file-name "json_test_data" version))
(sha256
(base32
"0nzsjzlvk14dazwh7k2jb1dinb0pv9jbx5jsyn264wvva0y7daiv")))))))
"0nzsjzlvk14dazwh7k2jb1dinb0pv9jbx5jsyn264wvva0y7daiv"))))))
(inputs
(list fifo-map))
(synopsis "JSON parser and printer library for C++")