guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

11/13: gnu: Add go-go-uber-org-goleak.


From: guix-commits
Subject: 11/13: gnu: Add go-go-uber-org-goleak.
Date: Sun, 18 Feb 2024 10:19:17 -0500 (EST)

civodul pushed a commit to branch master
in repository guix.

commit b177e753bbf22c7003b17b916fd61c640952ebb2
Author: Greg Hogan <code@greghogan.com>
AuthorDate: Tue Jan 30 20:08:05 2024 +0000

    gnu: Add go-go-uber-org-goleak.
    
    * gnu/packages/golang.scm (go-go-uber-org-goleak): New variable.
    
    Change-Id: I4dd8f244c44ced8910752f67b318c4e39d5acd74
    Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
 gnu/packages/golang.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 0b8b656a8e..bde0c74859 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -9146,6 +9146,38 @@ Gemini clients and servers.")
 @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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]