aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2019-10-12 16:10:28 +0200
committerMarius Bakke <mbakke@fastmail.com>2019-10-12 18:39:58 +0200
commite14d8dcff3e2882a5d0896c164f5bbde4f7a74fd (patch)
tree7cd972115cda8ce1a08da1bc6bc8a2b2d87309c3 /gnu/packages
parent196e35794c8598d28613d702311c365d4d9e0c36 (diff)
downloadguix-e14d8dcff3e2882a5d0896c164f5bbde4f7a74fd.tar
guix-e14d8dcff3e2882a5d0896c164f5bbde4f7a74fd.tar.gz
gnu: Add doctest.
* gnu/packages/check.scm (doctest): New public variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/check.scm19
1 files changed, 19 insertions, 0 deletions
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index c7d8615b0b..6a48c08064 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -354,6 +354,25 @@ a CxxTest testing library, it employs no advanced features of C++ (e.g. RTTI)
and it supports a very flexible form of test discovery.")
(license license:lgpl3+)))
+(define-public doctest
+ (package
+ (name "doctest")
+ (version "2.3.5")
+ (home-page "https://github.com/onqtam/doctest")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference (url home-page) (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0rddlzhnv0f5036q0m0p019pismka7sx6x8cnzk65sk77b1dsbhg"))))
+ (build-system cmake-build-system)
+ (synopsis "C++ test framework")
+ (description
+ "doctest is a single-header testing framework for C++11 and later. It
+has been designed to be fast, light and unintrusive.")
+ (license license:expat)))
+
(define-public go-gopkg.in-check.v1
(let ((commit "788fd78401277ebd861206a03c884797c6ec5541")
(revision "1"))