From 977490e6350818c41085c710a3b90e31f8caea7f Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Fri, 12 Apr 2024 15:34:21 +0100 Subject: gnu: go-go-uber-org-goleak: Move to golang-check. * gnu/packages/golang.scm (go-go-uber-org-goleak): Move from here ... * gnu/packages/golang-check.scm: ... to here. Change-Id: Iaadd6506457cb3487df8f27f71442a6dcabce816 --- gnu/packages/golang-check.scm | 28 ++++++++++++++++++++++++++++ gnu/packages/golang.scm | 24 ------------------------ 2 files changed, 28 insertions(+), 24 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/golang-check.scm b/gnu/packages/golang-check.scm index 2b70e8565f..3628b37b92 100644 --- a/gnu/packages/golang-check.scm +++ b/gnu/packages/golang-check.scm @@ -19,6 +19,7 @@ ;;; Copyright © 2023 Fries ;;; Copyright © 2023 Hilton Chain ;;; Copyright © 2023 Katherine Cox-Buday +;;; Copyright © 2024 Greg Hogan ;;; Copyright © 2024 Troy Figiel ;;; ;;; This file is part of GNU Guix. @@ -1002,6 +1003,33 @@ custom assertions to be used alongside native Go testing.") (arguments (list #:import-path "github.com/go-playground/assert/v2")))) +(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 + (list + #:import-path "go.uber.org/goleak")) + (native-inputs + (list go-github-com-stretchr-testify-next)) + (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-honnef-co-go-tools (package (name "go-honnef-co-go-tools") diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index b7a376c15f..611a9e883b 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -8454,30 +8454,6 @@ 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 - '(#:import-path "go.uber.org/goleak")) - (native-inputs - (list go-github-com-stretchr-testify-next)) - (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-multierr (package (name "go-go-uber-org-multierr") -- cgit v1.2.3