[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/08: gnu: Add xtl.
From: |
Ludovic Courtès |
Subject: |
07/08: gnu: Add xtl. |
Date: |
Mon, 28 May 2018 08:52:41 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 6f3c850618ff67d508addd1394a41401aa3be564
Author: Fis Trivial <address@hidden>
Date: Mon May 28 08:12:05 2018 +0000
gnu: Add xtl.
* gnu/packages/cpp.scm (xtl): New variable.
Signed-off-by: Ludovic Courtès <address@hidden>
---
gnu/packages/cpp.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index 4831ab0..cc53750 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -238,3 +238,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)))
- branch master updated (25816c4 -> 70770b9), Ludovic Courtès, 2018/05/28
- 03/08: gnu: Add catch-framework2., Ludovic Courtès, 2018/05/28
- 07/08: gnu: Add xtl.,
Ludovic Courtès <=
- 04/08: gnu: Add amalgamate., Ludovic Courtès, 2018/05/28
- 06/08: gnu: Add json-modern-cxx., Ludovic Courtès, 2018/05/28
- 08/08: gnu: Add xtensor., Ludovic Courtès, 2018/05/28
- 02/08: system: Remove uses of the 'title' field of <file-system>., Ludovic Courtès, 2018/05/28
- 05/08: gnu: Add fifo-map., Ludovic Courtès, 2018/05/28
- 01/08: file-systems: Remove 'title' field and add <file-system-label>., Ludovic Courtès, 2018/05/28