Subject: [PATCH 4/6] gnu: Add go-github-com-ipfs-go-log.

From: "Artyom V. Poptsov" <[email-masked]>
Date: Sun, 28 Apr 2024 19:45:12 +0300

* gnu/packages/ipfs.scm (go-github-com-ipfs-go-log): New variable.

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

diff --git a/gnu/packages/ipfs.scm b/gnu/packages/ipfs.scm
index 905cda71e9..96802c0c57 100644
--- a/gnu/packages/ipfs.scm
+++ b/gnu/packages/ipfs.scm
@@ -224,6 +224,30 @@ (define-public go-github-com-ipfs-go-log-v2
 their levels to be controlled individually.")
     (license license:expat)))
 
+(define-public go-github-com-ipfs-go-log
+  (package
+    (inherit go-github-com-ipfs-go-log-v2)
+    (name "go-github-com-ipfs-go-log")
+    (version "1.0.5")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/ipfs/go-log")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0gj2yqrv6wgpkv6f9c1anmw5kwg59plv0jrcxb3zmjrnk8fsn1jr"))))
+    (propagated-inputs (list go-github-com-gogo-protobuf
+                             go-github-com-ipfs-go-log-v2
+                             go-github-com-opentracing-opentracing-go
+                             go-go-uber-org-zap))
+    (arguments
+     (list
+      #:go go-1.21
+      #:unpack-path "github.com/ipfs/go-log"
+      #:import-path "github.com/ipfs/go-log"))))
+
 (define-public gx
   (package
     (name "gx")
-- 
2.41.0