diff options
author | Christopher Baines <mail@cbaines.net> | 2018-01-21 10:45:33 +0000 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2018-01-30 07:41:30 +0000 |
commit | 38ea84d876dc4ff4c8496d399ec718299191801d (patch) | |
tree | 2ccd3c46ae6ef107161c3ed9a59fe665ea7a34e2 /gnu/packages/check.scm | |
parent | 60a8cbc4b7ed5772263c113aa07af594e854739a (diff) |
gnu: Add go-gopkg.in-check.v1.
* gnu/packages/check.scm (go-gopkg.in-check.v1): New variable.
Diffstat (limited to 'gnu/packages/check.scm')
-rw-r--r-- | gnu/packages/check.scm | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index 1585948b33..564b75f8d1 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -59,6 +59,7 @@ #:use-module (guix git-download) #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) + #:use-module (guix build-system go) #:use-module (guix build-system python) #:use-module (guix build-system trivial)) @@ -283,6 +284,30 @@ normally do not detect. The goal is to detect only real errors in the code (i.e. have zero false positives).") (license license:gpl3+))) +(define-public go-gopkg.in-check.v1 + (let ((commit "20d25e2804050c1cd24a7eea1e7a6447dd0e74ec") + (revision "0")) + (package + (name "go-gopkg.in-check.v1") + (version (git-version "0.0.0" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/go-check/check.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0k1m83ji9l1a7ng8a7v40psbymxasmssbrrhpdv2wl4rhs0nc3np")))) + (build-system go-build-system) + (arguments + '(#:import-path "gopkg.in/check.v1")) + (synopsis "Rich testing extension for Go's testing package") + (description + "@code{check} is a rich testing extension for Go's testing package.") + (home-page "https://github.com/go-check/check") + (license license:bsd-2)))) + (define-public googletest (package (name "googletest") |