GNU bug report logs - #72211
[PATCH 0/7] gnu: kubo: Unbundle go-github-com-ipfs-go-metrics-interface.

Previous Next

Package: guix-patches;

Reported by: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>

Date: Sat, 20 Jul 2024 15:33:02 UTC

Severity: normal

Tags: patch

Done: Sharlatan Hellseher <sharlatanus <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>
To: 72211 <at> debbugs.gnu.org
Cc: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>
Subject: [bug#72211] [PATCH 1/7] gnu: Add go-github-com-ipfs-go-ipfs-blocksutil.
Date: Sat, 20 Jul 2024 18:33:50 +0300
* gnu/packages/ipfs.scm (go-github-com-ipfs-go-ipfs-blocksutil): New variable.

Change-Id: I64c8f6a6d2337b40fa24e478ba49a590abced8ec
---
 gnu/packages/ipfs.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/ipfs.scm b/gnu/packages/ipfs.scm
index 82d8914250..01b020a14c 100644
--- a/gnu/packages/ipfs.scm
+++ b/gnu/packages/ipfs.scm
@@ -72,6 +72,35 @@ (define-public go-github-com-ipfs-go-block-format
 corresponding to the block.")
     (license license:expat)))
 
+(define-public go-github-com-ipfs-go-ipfs-blocksutil
+  ;; Use the latest commit from the "master" branch to fix the build with go-1.21.
+  (let ((commit "ce0497f5ee55c479db98905aec8ff56c27aad2a2")
+        (revision "0"))
+    (package
+      (name "go-github-com-ipfs-go-ipfs-blocksutil")
+      (version (git-version "0.0.1" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/ipfs/go-ipfs-blocksutil")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "1ya6376wphp51rv48nmv4jw3x0mf6ym5yx1650fbkp5l5crqpdb8"))))
+      (build-system go-build-system)
+      (arguments
+       (list
+        #:go go-1.21
+        #:import-path "github.com/ipfs/go-ipfs-blocksutil"))
+      (propagated-inputs (list go-github-com-ipfs-go-block-format))
+      (home-page "https://github.com/ipfs/go-ipfs-blocksutil")
+      (synopsis "Utility functions for working with IPFS blocks")
+      (description
+       "Package @code{go-ipfs-blocksutil} provides provides utility functions for
+working with @url{https://github.com/ipfs/go-block-format, IPFS blocks}.")
+      (license license:expat))))
+
 (define-public go-github-com-ipfs-go-cid
   (package
     (name "go-github-com-ipfs-go-cid")
-- 
2.45.2





This bug report was last modified 300 days ago.

Previous Next


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