all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Greg Hogan <code@greghogan.com>
To: 68829@debbugs.gnu.org
Cc: Greg Hogan <code@greghogan.com>,
	Katherine Cox-Buday <cox.katherine.e+guix@gmail.com>,
	Sharlatan Hellseher <sharlatanus@gmail.com>
Subject: [bug#68829] [PATCH 2/3] gnu: Add go-go-uber-org-goleak.
Date: Tue, 30 Jan 2024 20:08:05 +0000	[thread overview]
Message-ID: <178b0413c106ab83a88ae2cc7511ac1b160c7623.1706645122.git.code@greghogan.com> (raw)
In-Reply-To: <cover.1706645122.git.code@greghogan.com>

* gnu/packages/golang.scm (go-go-uber-org-goleak): New variable.

Change-Id: I4dd8f244c44ced8910752f67b318c4e39d5acd74
---
 gnu/packages/golang.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 8b62e9088a..e5b8597e01 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -9946,6 +9946,38 @@ (define-public go-git-sr-ht-sircmpwn-getopt
 @code{getopt} for Go.")
     (license license:bsd-3)))
 
+(define-public go-go-uber-org-goleak
+  (package
+    (name "go-go-uber-org-goleak")
+    (version "1.2.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/uber-go/goleak")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1lpqw7ygffak8qki9i4vw8b99l25l8jrw8iwcplqsclk6fzkl24p"))))
+    (build-system go-build-system)
+    (arguments
+     '(#:tests? #f
+       #:import-path "go.uber.org/goleak"))
+    (propagated-inputs
+     (list go-github-com-davecgh-go-spew
+           go-github-com-kr-pretty
+           go-github-com-pmezard-go-difflib
+           go-github-com-stretchr-testify
+           go-golang-org-x-lint
+           go-golang-org-x-tools
+           go-gopkg-in-check-v1
+           go-gopkg-in-yaml-v3))
+    (home-page "https://go.uber.org/goleak")
+    (synopsis "Goroutine leak detector")
+    (description "Go package to verify that there are no unexpected goroutines
+running at the end of a test.")
+    (license license:expat)))
+
 (define-public go-go-uber-org-atomic
   (package
     (name "go-go-uber-org-atomic")
-- 
2.43.0





  parent reply	other threads:[~2024-01-30 20:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <cover.1706645122.git.code@greghogan.com>
2024-01-30 20:08 ` [bug#68829] [PATCH 1/3] gnu: Add go-github-com-cli-safeexec Greg Hogan
2024-01-30 20:08 ` Greg Hogan [this message]
2024-01-30 20:08 ` [bug#68829] [PATCH 3/3] gnu: Add git-sizer Greg Hogan
2024-02-18 15:09   ` bug#68829: " Ludovic Courtès

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=178b0413c106ab83a88ae2cc7511ac1b160c7623.1706645122.git.code@greghogan.com \
    --to=code@greghogan.com \
    --cc=68829@debbugs.gnu.org \
    --cc=cox.katherine.e+guix@gmail.com \
    --cc=sharlatanus@gmail.com \
    /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.