[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/09: gnu: Add go-gopkg-in-tomb-v1.
From: |
guix-commits |
Subject: |
02/09: gnu: Add go-gopkg-in-tomb-v1. |
Date: |
Sun, 27 Nov 2022 10:47:30 -0500 (EST) |
raghavgururajan pushed a commit to branch master
in repository guix.
commit ecc9c4c3f6a7cb88038d80729deafaba991f56f1
Author: ( <paren@disroot.org>
AuthorDate: Fri Oct 21 22:11:29 2022 +0100
gnu: Add go-gopkg-in-tomb-v1.
* gnu/packages/golang.scm (go-gopkg-in-tomb-v1): New variable.
Signed-off-by: Raghav Gururajan <rg@raghavgururajan.name>
---
gnu/packages/golang.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index d2357e4690..bfc1e6ad05 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -2665,6 +2665,32 @@ termination.")
(home-page "https://gopkg.in/tomb.v2")
(license license:bsd-3))))
+(define-public go-gopkg-in-tomb-v1
+ (package
+ (inherit go-gopkg.in-tomb.v2)
+ (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"))))
+ (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")))
+
(define-public go-gopkg-in-natefinch-lumberjack.v2
(package
(name "go-gopkg-in-natefinch-lumberjack.v2")
- branch master updated (992d69b1e7 -> e75e699ec3), guix-commits, 2022/11/27
- 02/09: gnu: Add go-gopkg-in-tomb-v1.,
guix-commits <=
- 03/09: gnu: Add go-github-com-nxadm-tail., guix-commits, 2022/11/27
- 04/09: gnu: Add go-github-com-go-task-slim-sprig., guix-commits, 2022/11/27
- 06/09: gnu: Add go-github-com-syndtr-goleveldb-leveldb., guix-commits, 2022/11/27
- 07/09: gnu: Add go-github-com-emersion-go-mbox., guix-commits, 2022/11/27
- 09/09: gnu: Add go-git-sr-ht-rockorager-tcell-term., guix-commits, 2022/11/27
- 01/09: gnu: Add go-github-com-onsi-gomega., guix-commits, 2022/11/27
- 05/09: gnu: Add go-github-com-onsi-ginkgo., guix-commits, 2022/11/27
- 08/09: gnu: go-github-com-gdamore-tcell-v2: Update to 2.5.3., guix-commits, 2022/11/27