GNU bug report logs - #56944
[PATCH 36/41] gnu: Add go-gopkg-in-tomb-v1.

Previous Next

Package: guix-patches;

Reported by: "(" <paren <at> disroot.org>

Date: Wed, 3 Aug 2022 12:07:27 UTC

Severity: normal

Tags: patch

Merged with 56909, 56910, 56911, 56912, 56913, 56914, 56915, 56916, 56917, 56918, 56919, 56920, 56921, 56922, 56923, 56924, 56925, 56926, 56927, 56928, 56929, 56930, 56931, 56932, 56933, 56934, 56935, 56936, 56937, 56938, 56939, 56940, 56941, 56942, 56943, 56945, 56946, 56947, 56948, 56949

Fixed in versions 56914, 56910, 56911, 56912, 56913, 56915, 56916, 56917, 56918, 56919, 56920, 56921, 56922, 56923, 56924, 56925, 56926, 56927, 56928, 56934, 56930, 56929, 56931, 56933, 56936, 56935, 56932, 56941, 56938, 56939, 56937, 56942, 56940, 56943, 56944, 56945, 56946, 56947, 56948, 56949

Done: "(" <paren <at> disroot.org>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "(" <paren <at> disroot.org>
To: guix-patches <at> gnu.org
Cc: "\(" <paren <at> disroot.org>
Subject: [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





This bug report was last modified 2 years and 291 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.