gnu: xtl: Update to 0.7.4.

* gnu/packages/cpp.scm (xtl): Update to 0.7.4.
[native-inputs]: Add DOCTEST.
[arguments]: Remove trailing #t.
This commit is contained in:
Marius Bakke 2022-02-18 21:37:05 +01:00
parent 76c30931ad
commit 93cc9fb140
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -566,7 +566,7 @@ (define-public json-modern-cxx
(define-public xtl
(package
(name "xtl")
(version "0.6.23")
(version "0.7.4")
(source (origin
(method git-fetch)
(uri
@ -575,20 +575,19 @@ (define-public xtl
(commit version)))
(sha256
(base32
"1kd9zl4h6nrsg29hq13vwp4zhfj8sa90vj40726lpw6vxz48k4di"))
"134pgvmf9cx5dxs0m0m3qhp3m3r1gl86ic3xax21zc4sdj8sdq46"))
(file-name (git-file-name name version))))
(native-inputs
(list googletest json-modern-cxx))
(list doctest googletest json-modern-cxx))
(arguments
`(#:configure-flags
'(#:configure-flags
'("-DBUILD_TESTS=ON")
#:phases
(modify-phases %standard-phases
(replace 'check
(lambda* _
(with-directory-excursion "test"
(invoke "./test_xtl")
#t))))))
(invoke "./test_xtl")))))))
(home-page "https://github.com/QuantStack/xtl")
(build-system cmake-build-system)
(synopsis "C++ template library providing some basic tools")