[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/08: gnu: Add virtest.
From: |
guix-commits |
Subject: |
04/08: gnu: Add virtest. |
Date: |
Sat, 19 Oct 2019 18:42:02 -0400 (EDT) |
mbakke pushed a commit to branch master
in repository guix.
commit e2ba79ef4670b548377ac0234ce7d1c294f326e9
Author: Marius Bakke <address@hidden>
Date: Sat Oct 19 14:42:03 2019 +0200
gnu: Add virtest.
* gnu/packages/check.scm (virtest): New public variable.
---
gnu/packages/check.scm | 34 +++++++++++++++++++++++++++++++++-
1 file changed, 33 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 1f07cad..b12337a 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -25,7 +25,7 @@
;;; Copyright © 2017, 2019 Kei Kebreau <address@hidden>
;;; Copyright © 2017 ng0 <address@hidden>
;;; Copyright © 2015, 2017, 2018 Ricardo Wurmus <address@hidden>
-;;; Copyright © 2016, 2017, 2018 Marius Bakke <address@hidden>
+;;; Copyright © 2016, 2017, 2018, 2019 Marius Bakke <address@hidden>
;;; Copyright © 2017, 2018 Ludovic Courtès <address@hidden>
;;; Copyright © 2018 Fis Trivial <address@hidden>
;;; Copyright © 2019 Pierre Langlois <address@hidden>
@@ -2329,6 +2329,38 @@ program or test suite under a test bed with the
previously recorded devices
loaded.")
(license license:lgpl2.1+)))
+(define-public virtest
+ ;; No releases yet, so we take the commit that "vc" expects.
+ (let ((commit "f7d03ef39fceba168745bd29e1b20af6e7971e04")
+ (revision "0"))
+ (package
+ (name "virtest")
+ (version (git-version "0.0" revision commit))
+ (home-page "https://github.com/mattkretz/virtest")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference (url home-page) (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "07pjyb0mk7y2w1dg1bhl26nb7416xa1mw16ifj6mmps5y6aq054l"))))
+ (build-system cmake-build-system)
+ (arguments
+ `(#:phases (modify-phases %standard-phases
+ (add-after 'unpack 'adjust-install-directory
+ (lambda _
+ ;; Vc is the only consumer of this library, and expects
+ ;; to find it in "virtest/vir/" instead of "vir/vir/".
+ (substitute* "CMakeLists.txt"
+ (("DESTINATION include/vir")
+ "DESTINATION include/virtest"))
+ #t)))))
+ (synopsis "Header-only test framework")
+ (description
+ "@code{virtest} is a small header-only test framework for C++. It
+grew out of the @dfn{Vc} project.")
+ (license license:bsd-3))))
+
(define-public python-pyfakefs
(package
(name "python-pyfakefs")
- branch master updated (1760c97 -> f19e571), guix-commits, 2019/10/19
- 05/08: gnu: vc: Update to 1.4.1., guix-commits, 2019/10/19
- 02/08: gnu: dav1d: Update to 0.5.0., guix-commits, 2019/10/19
- 01/08: gnu: xapian: Update to 1.4.13., guix-commits, 2019/10/19
- 04/08: gnu: Add virtest.,
guix-commits <=
- 06/08: gnu: OpenEXR: Disable failing test on 32-bit systems., guix-commits, 2019/10/19
- 03/08: gnu: libmpeg2: Fix build on armhf-linux., guix-commits, 2019/10/19
- 08/08: gnu: kodi: Increase test timeout., guix-commits, 2019/10/19
- 07/08: gnu: notmuch: Update to 0.29.2., guix-commits, 2019/10/19