[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#31430] [PATCH 5/6] gnu: Add xtl.
From: |
Fis Trivial |
Subject: |
[bug#31430] [PATCH 5/6] gnu: Add xtl. |
Date: |
Mon, 28 May 2018 08:12:05 +0000 |
* gnu/packages/cpp.scm (xtl): New variable.
---
gnu/packages/cpp.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index 17dab4c3b..b3f054bc8 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -239,3 +239,36 @@ as ordering relation.")
(description "JSON for Modern C++ is a C++ json library that provides
intutive syntax and trivial integration.")
(license license:expat)))
+
+(define-public xtl
+ (package
+ (name "xtl")
+ (version "0.4.8")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://github.com/QuantStack/xtl/archive/"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "05bcz9y590b77bxcip0k31rgsapmkwqi1smvsvc84zz7m87d4jvy"))
+ (file-name (string-append name "-" version ".tar.gz"))))
+ (native-inputs
+ `(("googletest" ,googletest)
+ ("json-modern-cxx" ,json-modern-cxx)))
+ (arguments
+ `(#:configure-flags
+ '("-DBUILD_TESTS=ON")
+ #:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* _
+ (with-directory-excursion "test"
+ (invoke "./test_xtl")
+ #t))))))
+ (home-page "https://github.com/QuantStack/xtl")
+ (build-system cmake-build-system)
+ (synopsis "C++ template library providing some basic tools")
+ (description "xtl is a C++ header-only template library providing basic
+tools (containers, algorithms) used by other QuantStack packages.")
+ (license license:bsd-3)))
--
2.14.3
- [bug#31430] [PATCH 0/6] Add xtensor and its dependencies (new patches)., (continued)
- [bug#31430] [PATCH 0/6] Add xtensor and its dependencies (new patches)., Fis Trivial, 2018/05/28
- [bug#31430] [PATCH 1/6] gnu: Add catch-framework2., Fis Trivial, 2018/05/28
- [bug#31430] [PATCH 2/6] gnu: Add amalgamate., Fis Trivial, 2018/05/28
- [bug#31430] [PATCH 3/6] gnu: Add fifo-map., Fis Trivial, 2018/05/28
- [bug#31430] [PATCH 4/6] gnu: Add json-modern-cxx., Fis Trivial, 2018/05/28
- [bug#31430] [PATCH 6/6] gnu: Add xtensor., Fis Trivial, 2018/05/28
- [bug#31430] [PATCH 5/6] gnu: Add xtl.,
Fis Trivial <=