[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#55903] [PATCH v6 36/41] gnu: Add go-gopkg-in-tomb-v1.
From: |
( |
Subject: |
[bug#55903] [PATCH v6 36/41] gnu: Add go-gopkg-in-tomb-v1. |
Date: |
Thu, 4 Aug 2022 18:10:42 +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 06bf9ad539..873e3c4681 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -10877,3 +10877,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#55903] [PATCH v6 35/41] gnu: Add go-github-com-onsi-gomega., (continued)
- [bug#55903] [PATCH v6 35/41] gnu: Add go-github-com-onsi-gomega., (, 2022/08/04
- [bug#55903] [PATCH v6 39/41] gnu: Add go-github-com-onsi-ginkgo., (, 2022/08/04
- [bug#55903] [PATCH v6 20/41] gnu: Add go-github-com-emersion-go-message., (, 2022/08/04
- [bug#55903] [PATCH v6 18/41] gnu: Add go-github-com-gatherstars-com-jwz., (, 2022/08/04
- [bug#55903] [PATCH v6 31/41] gnu: Add go-github-com-google-shlex., (, 2022/08/04
- [bug#55903] [PATCH v6 14/41] gnu: Add go-github-com-jaytaylor-html2text., (, 2022/08/04
- [bug#55903] [PATCH v6 27/41] gnu: Add go-github-com-niemeyer-pretty., (, 2022/08/04
- [bug#55903] [PATCH v6 30/41] gnu: Add go-github-com-lithammer-fuzzysearch., (, 2022/08/04
- [bug#55903] [PATCH v6 28/41] gnu: Add go-github-com-arran4-golang-ical., (, 2022/08/04
- [bug#55903] [PATCH v6 29/41] gnu: Add go-git-sr-ht--sircmpwn-getopt., (, 2022/08/04
- [bug#55903] [PATCH v6 36/41] gnu: Add go-gopkg-in-tomb-v1.,
( <=
- [bug#55903] [PATCH v6 22/41] gnu: Add go-github-com-emersion-go-imap., (, 2022/08/04
- [bug#55903] [PATCH v6 19/41] gnu: Add go-github-com-emersion-go-textwrapper., (, 2022/08/04
- [bug#55903] [PATCH v6 26/41] gnu: Add go-github-com-emersion-go-smtp., (, 2022/08/04
- [bug#55903] [PATCH v6 23/41] gnu: Add go-github-com-emersion-go-imap-sortthread., (, 2022/08/04
- [bug#55903] [PATCH v6 37/41] gnu: Add go-github-com-nxadm-tail., (, 2022/08/04
- [bug#55903] [PATCH v6 01/41] gnu: Add go-github-com-zenhack-go-notmuch., (, 2022/08/04