sharlatan pushed a commit to branch go-team
in repository guix.
commit 23ba5c35b3a4c5d3d78ba8bd8dd0134f80f413f6
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sat Feb 15 18:16:29 2025 +0000
gnu: go-gopkg-in-tomb-v1: Move to golang-xyz.
* gnu/packages/golang.scm (go-gopkg-in-tomb-v1): Move from here ...
* gnu/packages/golang-xyz.scm: ... to here.
Change-Id: I9b5e36505b924c2ae69b95201c2d81312ae16310
---
gnu/packages/golang-xyz.scm | 31 +++++++++++++++++++++++++++++++
gnu/packages/golang.scm | 31 -------------------------------
2 files changed, 31 insertions(+), 31 deletions(-)
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index e4e6c32132..a081aaa471 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -17430,6 +17430,37 @@ machine readable. It is modeled after the Go standard
library's @code{io} and
(package-arguments go-github-com-op-go-logging)
((#:import-path _) "gopkg.in/op/go-logging.v1")))))
+(define-public go-gopkg-in-tomb-v1
+ (package
+ (name "go-gopkg-in-tomb-v1")
+ (version "1.0.0-20141024135613-dd632973f1e7")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://gopkg.in/tomb.v1")
+ (commit (go-version->git-ref version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1lqmq1ag7s4b3gc3ddvr792c5xb5k6sfn0cchr3i2s7f1c231zjv"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "gopkg.in/tomb.v1"
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'fix-test
+ (lambda* (#:key import-path #:allow-other-keys)
+ (substitute* (string-append "src/" import-path "/tomb_test.go")
+ (("t.Fatalf\\(`Killf\\(\"BO%s")
+ "t.Fatalf(`Killf(\"BO%%s")))))))
+ (home-page "https://gopkg.in/tomb.v1")
+ (synopsis "@code{tomb} handles clean goroutine tracking and termination")
+ (description
+ "The @code{tomb} package handles clean goroutine tracking and
+termination.")
+ (license license:bsd-3)))
+
(define-public go-gopkg-in-vmihailenco-msgpack-v2
(package
(name "go-gopkg-in-vmihailenco-msgpack-v2")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index cf8343b302..dce732a573 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -1618,37 +1618,6 @@ management interface. It can be used to monitor and
control an OpenVPN process
running with its management port enabled.")
(license license:expat))))
-(define-public go-gopkg-in-tomb-v1
- (package
- (name "go-gopkg-in-tomb-v1")
- (version "1.0.0-20141024135613-dd632973f1e7")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://gopkg.in/tomb.v1")
- (commit (go-version->git-ref version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "1lqmq1ag7s4b3gc3ddvr792c5xb5k6sfn0cchr3i2s7f1c231zjv"))))
- (build-system go-build-system)
- (arguments
- (list #:import-path "gopkg.in/tomb.v1"
- #:phases
- #~(modify-phases %standard-phases
- (add-after 'unpack 'fix-test
- (lambda* (#:key import-path #:allow-other-keys)
- (substitute* (string-append "src/" import-path
- "/tomb_test.go")
- (("t.Fatalf\\(`Killf\\(\"BO%s")
- "t.Fatalf(`Killf(\"BO%%s")))))))
- (home-page "https://gopkg.in/tomb.v1")
- (synopsis "@code{tomb} handles clean goroutine tracking and termination")
- (description
- "The @code{tomb} package handles clean goroutine tracking and
-termination.")
- (license license:bsd-3)))
-
(define-public go-github-com-google-cadvisor
(let ((commit "2ed7198f77395ee9a172878a0a7ab92ab59a2cfd")
(revision "0"))