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 (define-public xtl
(package (package
(name "xtl") (name "xtl")
(version "0.6.23") (version "0.7.4")
(source (origin (source (origin
(method git-fetch) (method git-fetch)
(uri (uri
@ -575,20 +575,19 @@ (define-public xtl
(commit version))) (commit version)))
(sha256 (sha256
(base32 (base32
"1kd9zl4h6nrsg29hq13vwp4zhfj8sa90vj40726lpw6vxz48k4di")) "134pgvmf9cx5dxs0m0m3qhp3m3r1gl86ic3xax21zc4sdj8sdq46"))
(file-name (git-file-name name version)))) (file-name (git-file-name name version))))
(native-inputs (native-inputs
(list googletest json-modern-cxx)) (list doctest googletest json-modern-cxx))
(arguments (arguments
`(#:configure-flags '(#:configure-flags
'("-DBUILD_TESTS=ON") '("-DBUILD_TESTS=ON")
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(replace 'check (replace 'check
(lambda* _ (lambda* _
(with-directory-excursion "test" (with-directory-excursion "test"
(invoke "./test_xtl") (invoke "./test_xtl")))))))
#t))))))
(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")