guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/06: gnu: Add go-github-com-ipfs-go-block-format.


From: guix-commits
Subject: 01/06: gnu: Add go-github-com-ipfs-go-block-format.
Date: Mon, 17 Jun 2024 17:58:57 -0400 (EDT)

sharlatan pushed a commit to branch master
in repository guix.

commit 4797bbb12c7c7c93ce6fa6267b46816b6d239f86
Author: Artyom V. Poptsov <poptsov.artyom@gmail.com>
AuthorDate: Wed Jun 12 08:37:43 2024 +0300

    gnu: Add go-github-com-ipfs-go-block-format.
    
    * gnu/packages/ipfs.scm (go-github-com-ipfs-go-block-format): New variable.
    
    Change-Id: I1120be12ff6c10149e227d679c1c532cb3548a5c
    Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
---
 gnu/packages/ipfs.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/ipfs.scm b/gnu/packages/ipfs.scm
index a44c4b0139..6df340e402 100644
--- a/gnu/packages/ipfs.scm
+++ b/gnu/packages/ipfs.scm
@@ -38,6 +38,38 @@
   #:use-module (gnu packages python)
   #:use-module (gnu packages shells))
 
+(define-public go-github-com-ipfs-go-block-format
+  (package
+    (name "go-github-com-ipfs-go-block-format")
+    (version "0.2.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/ipfs/go-block-format";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0pd8ww06ss922g3w2fgi3w0q66y2mkb9b2q9x5qxabrjj65xranz"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:go go-1.21
+      #:import-path "github.com/ipfs/go-block-format"))
+    (propagated-inputs
+     (list go-github-com-multiformats-go-multihash
+           go-github-com-multiformats-go-varint
+           go-github-com-ipfs-go-cid
+           go-github-com-ipfs-go-ipfs-util))
+    (home-page "https://github.com/ipfs/go-block-format";)
+    (synopsis "Set of interfaces for CID addressable blocks of data")
+    (description
+     "Package @code{blocks} contains the lowest level of @acronym{IPLD,
+InterPlanetary Linked Data} data structures. A block is raw data accompanied
+by a @acronym{Content Identifiers,CID}. The CID contains the multihash
+corresponding to the block.")
+    (license license:expat)))
+
 (define-public go-github-com-ipfs-go-cid
   (package
     (name "go-github-com-ipfs-go-cid")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]