From 38ea84d876dc4ff4c8496d399ec718299191801d Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Sun, 21 Jan 2018 10:45:33 +0000 Subject: gnu: Add go-gopkg.in-check.v1. * gnu/packages/check.scm (go-gopkg.in-check.v1): New variable. --- gnu/packages/check.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'gnu') 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") -- cgit v1.2.3