From 7952804cecf670b4b0d6f75df6f86d64c5b65e71 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Wed, 31 Jan 2018 13:43:32 +0000 Subject: gnu: Add go-github.com-smartystreets-assertions. * gnu/packages/check.scm (go-github.com-smartystreets-assertions): New variable. --- gnu/packages/check.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index 69d5b7a382..b26deda8a3 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -338,6 +338,31 @@ test) much simpler.") (home-page "https://github.com/smartystreets/gunit") (license license:expat))) +(define-public go-github.com-smartystreets-assertions + (package + (name "go-github.com-smartystreets-assertions") + (version "1.8.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/smartystreets/assertions") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1j0adgbykl55rf2945g0n5bmqdsnjcqlx5dcmpfh4chki43hiwg9")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/smartystreets/assertions")) + (native-inputs + `(("go-github.com-smartystreets-gunit" ,go-github.com-smartystreets-gunit))) + (synopsis "Assertions for testing with Go") + (description + "The @code{assertions} package provides convinient assertion functions +for writing tests in Go.") + (home-page "https://github.com/smartystreets/assertions") + (license license:expat))) + (define-public googletest (package (name "googletest") -- cgit v1.2.3