Subject: [PATCH 2/7] gnu: Add go-github-com-ipfs-go-ipfs-exchange-interface.

From: "Artyom V. Poptsov" <[email-masked]>
Date: Sat, 20 Jul 2024 18:33:51 +0300

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

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

diff --git a/gnu/packages/ipfs.scm b/gnu/packages/ipfs.scm
index 01b020a14c..af4d6ce39c 100644
--- a/gnu/packages/ipfs.scm
+++ b/gnu/packages/ipfs.scm
@@ -272,6 +272,32 @@ (define-public go-github-com-ipfs-go-detect-race
     (description "Check if the race detector is running.")
     (license license:expat)))
 
+(define-public go-github-com-ipfs-go-ipfs-exchange-interface
+  (package
+    (name "go-github-com-ipfs-go-ipfs-exchange-interface")
+    (version "0.2.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/ipfs/go-ipfs-exchange-interface")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0h5jizhjq4yz9sikqc6yhv5gsb8fgv67v0qjzagyhfznfx8kwv1d"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:go go-1.21
+      #:import-path "github.com/ipfs/go-ipfs-exchange-interface"))
+    (propagated-inputs (list go-github-com-ipfs-go-block-format
+                             go-github-com-ipfs-go-cid))
+    (home-page "https://github.com/ipfs/go-ipfs-exchange-interface")
+    (synopsis "The IPFS Exchange interface")
+    (description "@code{go-ipfs-exchange-interface} defines the IPFS exchange
+interface.")
+    (license license:expat)))
+
 (define-public go-github-com-ipfs-go-ipfs-util
   (package
     (name "go-github-com-ipfs-go-ipfs-util")
-- 
2.45.2