all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Danny Milosavljevic <dannym@scratchpost.org>
To: 38885@debbugs.gnu.org
Cc: Danny Milosavljevic <dannym@scratchpost.org>
Subject: [bug#38885] [WIP 3/4] gnu: Add gotestsum.
Date: Fri,  3 Jan 2020 02:34:32 +0100	[thread overview]
Message-ID: <20200103013433.14866-3-dannym@scratchpost.org> (raw)
In-Reply-To: <20200103013433.14866-1-dannym@scratchpost.org>

* gnu/packages/golang.scm (gotestsum): New variable.
---
 gnu/packages/golang.scm | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 43102d9c1e..5a950be6bb 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3143,3 +3143,40 @@ are semantically equal in Go (for writing tests).")
 test when a comparison fails.")
     (home-page "https://github.com/gotestyourself/gotest.tools")
     (license license:asl2.0)))
+
+(define-public gotestsum
+  (package
+    (name "gotestsum")
+    (version "0.4.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                     (url "https://github.com/gotestyourself/gotestsum.git")
+                     (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0y71qr3ss3hgc8c7nmvpwk946xy1jc5d8whsv6y77wb24ncla7n0"))))
+    (build-system go-build-system)
+    (arguments
+     '(#:tests? #f ; Tests fail (because of go-gotest-tools-assert).
+       #:import-path "gotest.tools/gotestsum"))
+    (native-inputs
+     `(("go-github-com-fatih-color" ,go-github-com-fatih-color)
+       ("go-golang.org-x-sync-errgroup" ,go-golang.org-x-sync-errgroup)
+       ("go-github-com-pkg-errors" ,go-github-com-pkg-errors)
+       ("go-github-com-sirupsen-logrus"
+        ,go-github-com-sirupsen-logrus)
+       ("go-github-com-spf13-pflag" ,go-github-com-spf13-pflag)
+       ("go-github-com-jonboulle-clockwork"
+        ,go-github-com-jonboulle-clockwork)
+       ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)
+       ("go-gotest-tools-assert" ,go-gotest-tools-assert)
+       ("go-github-com-google-go-cmp-cmp"
+        ,go-github-com-google-go-cmp-cmp)))
+    (synopsis "Go test runner with output optimized for humans")
+    (description "This package provides a @code{go test} runner with output
+optimized for humans, JUnit XML for CI integration, and a summary of the
+test results.")
+    (home-page "https://github.com/gotestyourself/gotestsum")
+    (license license:asl2.0)))

  parent reply	other threads:[~2020-01-03  1:35 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-03  1:33 [bug#38885] [WIP 0/4] Update docker Danny Milosavljevic
2020-01-03  1:34 ` [bug#38885] [WIP 1/4] gnu: Add go-golang.org-x-sync-errgroup Danny Milosavljevic
2020-01-03  1:34   ` [bug#38885] [WIP 2/4] gnu: Add go-gotest-tools-assert Danny Milosavljevic
2020-01-03  1:34   ` Danny Milosavljevic [this message]
2020-01-03  1:34   ` [bug#38885] [WIP 4/4] gnu: docker: Update to 19.03.5 Danny Milosavljevic
2020-01-15 21:07 ` [bug#38885] [WIP 0/4] Update docker Ludovic Courtès
2020-02-10 18:02   ` bug#38885: " Danny Milosavljevic

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200103013433.14866-3-dannym@scratchpost.org \
    --to=dannym@scratchpost.org \
    --cc=38885@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.