[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#56944] [PATCH 36/41] gnu: Add go-gopkg-in-tomb-v1.
From: |
( |
Subject: |
[bug#56944] [PATCH 36/41] gnu: Add go-gopkg-in-tomb-v1. |
Date: |
Wed, 3 Aug 2022 13:04:34 +0100 |
* gnu/packages/golang.scm (go-gopkg-in-tomb-v1): New variable.
---
gnu/packages/golang.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 6ee01b9ea1..da7b983475 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -10851,3 +10851,29 @@ (define-public go-github-com-onsi-gomega
(description
"Gomega is the preferred matcher library for the Ginkgo test framework.")
(license license:expat)))
+
+(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")))
--
2.37.1
- [bug#56909] [PATCH 01/41] gnu: Add go-github-com-zenhack-go-notmuch., (, 2022/08/03
- [bug#56910] [PATCH 03/41] gnu: Add go-google-golang-org-protobuf., (, 2022/08/03
- [bug#56911] [PATCH 04/41] gnu: Add go-github-com-xo-terminfo., (, 2022/08/03
- [bug#56912] [PATCH 05/41] gnu: Add go-github-com-riywo-loginshell., (, 2022/08/03
- [bug#56913] [PATCH 06/41] gnu: Add go-github-com-miolini-datacounter., (, 2022/08/03
- [bug#56914] [PATCH 02/41] gnu: Add go-github-com-creack-pty., (, 2022/08/03
- [bug#56944] [PATCH 36/41] gnu: Add go-gopkg-in-tomb-v1.,
( <=
- [bug#56915] [PATCH 07/41] gnu: Add go-github-com-kyoh86-xdg., (, 2022/08/03
- [bug#56920] [PATCH 12/41] gnu: Add go-github-com-ssor-bom., (, 2022/08/03
- [bug#56928] [PATCH 20/41] gnu: Add go-github-com-emersion-go-message., (, 2022/08/03
- [bug#56948] [PATCH 40/41] gnu: Add go-github-com-syndtr-goleveldb-leveldb., (, 2022/08/03
- [bug#56934] [PATCH 21/41] gnu: Add go-github-com-emersion-go-sasl., (, 2022/08/03
- [bug#56924] [PATCH 16/41] gnu: Add go-github-com-cention-sany-utf7., (, 2022/08/03
- [bug#56941] [PATCH 29/41] gnu: Add go-git-sr-ht--sircmpwn-getopt., (, 2022/08/03
- [bug#56947] [PATCH 39/41] gnu: Add go-github-com-onsi-ginkgo., (, 2022/08/03
- [bug#56923] [PATCH 15/41] gnu: Add go-github-com-go-test-deep., (, 2022/08/03
- [bug#56927] [PATCH 19/41] gnu: Add go-github-com-emersion-go-textwrapper., (, 2022/08/03