gnu: xtl: Use G-expressions.

* gnu/packages/cpp.scm (xtl)[arguments]:
Rewrite as G-expressions.
This commit is contained in:
Tobias Geerinckx-Rice 2023-07-09 02:00:03 +02:00
parent 6e0c8f097b
commit ef64cc509e
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -691,14 +691,15 @@ (define-public xtl
(native-inputs (native-inputs
(list doctest googletest nlohmann-json)) (list doctest googletest nlohmann-json))
(arguments (arguments
'(#:configure-flags (list
'("-DBUILD_TESTS=ON") #:configure-flags
#:phases #~(list "-DBUILD_TESTS=ON")
(modify-phases %standard-phases #:phases
(replace 'check #~(modify-phases %standard-phases
(lambda* _ (replace 'check
(with-directory-excursion "test" (lambda _
(invoke "./test_xtl"))))))) (with-directory-excursion "test"
(invoke "./test_xtl")))))))
(home-page "https://github.com/QuantStack/xtl") (home-page "https://github.com/QuantStack/xtl")
(build-system cmake-build-system) (build-system cmake-build-system)
(synopsis "C++ template library providing some basic tools") (synopsis "C++ template library providing some basic tools")