Subject: [PATCH 32/47] gnu: Add go-go-uber-org-goleak.

From: Leo Nikkilä <[email-masked]>
Date: Fri, 25 Mar 2022 15:31:56 +0200

* gnu/packages/golang.scm (go-go-uber-org-goleak): New variable.
---
 gnu/packages/golang.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index d16326e52c..70e2c454e4 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -8881,6 +8881,29 @@ (define-public go-go-uber-org-atomic
 atomic access.")
     (license license:expat)))
 
+(define-public go-go-uber-org-goleak
+  (package
+    (name "go-go-uber-org-goleak")
+    (version "1.1.12")
+    (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
+                "1wda3bd5xqbnvskgpr2lg6ccnrm3v9wl0i5c5b6xrrzf01b81vzg"))))
+    (build-system go-build-system)
+    (arguments
+     '(#:import-path "go.uber.org/goleak"))
+    (native-inputs (list go-github-com-stretchr-testify go-golang-org-x-lint))
+    (synopsis "Goroutine leak detector")
+    (description "Goroutine leak detector to help avoid Goroutine
+leaks.")
+    (home-page "https://github.com/uber-go/goleak")
+    (license license:expat)))
+
 (define-public go-go-uber-org-multierr
   (package
     (name "go-go-uber-org-multierr")
-- 
2.34.0