From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42093) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1egt9L-0005Iv-SS for guix-patches@gnu.org; Wed, 31 Jan 2018 09:14:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1egt9H-0003tS-CI for guix-patches@gnu.org; Wed, 31 Jan 2018 09:14:07 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:42528) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1egt9H-0003tO-8P for guix-patches@gnu.org; Wed, 31 Jan 2018 09:14:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1egt9H-0003Rg-3M for guix-patches@gnu.org; Wed, 31 Jan 2018 09:14:03 -0500 Subject: [bug#30306] [PATCH 2/5] gnu: Add go-github.com-smartystreets-assertions. Resent-Message-ID: From: Christopher Baines Date: Wed, 31 Jan 2018 14:13:16 +0000 Message-Id: <20180131141319.14598-2-mail@cbaines.net> In-Reply-To: <20180131141319.14598-1-mail@cbaines.net> References: <20180131141319.14598-1-mail@cbaines.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 30306@debbugs.gnu.org * 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 69d5b7a38..b26deda8a 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") -- 2.15.1