gnu: Add go-gopkg.in-check.v1.

* gnu/packages/check.scm (go-gopkg.in-check.v1): New variable.
This commit is contained in:
Christopher Baines 2018-01-21 10:45:33 +00:00
parent 60a8cbc4b7
commit 38ea84d876
No known key found for this signature in database
GPG Key ID: 5E28A33B0B84F577

View File

@ -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")