From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42089) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1egt9L-0005Is-RX 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 1egt9G-0003tE-Vs for guix-patches@gnu.org; Wed, 31 Jan 2018 09:14:07 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:42527) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1egt9G-0003t8-Qt for guix-patches@gnu.org; Wed, 31 Jan 2018 09:14:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1egt9G-0003RZ-LF for guix-patches@gnu.org; Wed, 31 Jan 2018 09:14:02 -0500 Subject: [bug#30306] [PATCH 1/5] gnu: Add go-github.com-smartystreets-gunit. References: <87shamktrz.fsf@cbaines.net> In-Reply-To: <87shamktrz.fsf@cbaines.net> Resent-Message-ID: From: Christopher Baines Date: Wed, 31 Jan 2018 14:13:15 +0000 Message-Id: <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-gunit): New variable. --- gnu/packages/check.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index 564b75f8d..69d5b7a38 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -308,6 +308,36 @@ normally do not detect. The goal is to detect only real errors in the code (home-page "https://github.com/go-check/check") (license license:bsd-2)))) +(define-public go-github.com-smartystreets-gunit + (package + (name "go-github.com-smartystreets-gunit") + (version "1.0.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/smartystreets/gunit") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "00m4zg0kdj49mnpmf9klb44ba71p966xsk6zknrzqgfc8119f35z")))) + (build-system go-build-system) + (arguments + '(;; TODO: This package depends on go-github.com-smartystreets-assertions + ;; for running the tests, but go-github.com-smartystreets-assertions + ;; depends on this package, so break this loop by not running the tests + ;; for this package. + #:tests? #f + #:import-path "github.com/smartystreets/gunit")) + (synopsis "Testing tool for Go, in the style of xUnit") + (description + "@code{gunit} allows the test author to use a struct as the scope for a +group of related test cases, in the style of xUnit fixtures. This makes +extraction of setup/teardown behavior (as well as invoking the system under +test) much simpler.") + (home-page "https://github.com/smartystreets/gunit") + (license license:expat))) + (define-public googletest (package (name "googletest") -- 2.15.1