aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorArtyom V. Poptsov <poptsov.artyom@gmail.com>2024-07-15 23:04:22 +0300
committerSharlatan Hellseher <sharlatanus@gmail.com>2024-07-18 23:12:37 +0100
commit3ab3df73d28f15f79195f6043bc6aa904e7be08d (patch)
treebc3f6a5206b9be879524b33fdf215302f5f98187 /gnu
parent524abb647406b8a0c8606465c14d1b0b648d5b94 (diff)
downloadguix-3ab3df73d28f15f79195f6043bc6aa904e7be08d.tar.gz
guix-3ab3df73d28f15f79195f6043bc6aa904e7be08d.zip
gnu: Add go-github-com-ipld-go-codec-dagpb.
* gnu/packages/ipfs.scm (go-github-com-ipld-go-codec-dagpb): New variable. Change-Id: Icd8c92a79e8c1906e2f7c4bfacc098198a8be328 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/ipfs.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/ipfs.scm b/gnu/packages/ipfs.scm
index 709d460144..f3e0748976 100644
--- a/gnu/packages/ipfs.scm
+++ b/gnu/packages/ipfs.scm
@@ -396,6 +396,34 @@ order to be a part of the @acronym{IPLD, InterPlanetary Linked Data} merkle-fore
and @code{go-ipld-format} legacy interface.")
(license (list license:expat license:asl2.0))))
+(define-public go-github-com-ipld-go-codec-dagpb
+ (package
+ (name "go-github-com-ipld-go-codec-dagpb")
+ (version "1.6.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/ipld/go-codec-dagpb")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1jbrwbgr222wsi95gdflbj350csja6k8vphdq7c9bm50ipr8bvkq"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:go go-1.21
+ #:import-path "github.com/ipld/go-codec-dagpb"))
+ (propagated-inputs (list go-github-com-ipfs-go-cid
+ go-github-com-ipld-go-ipld-prime
+ go-google-golang-org-protobuf))
+ (home-page "https://github.com/ipld/go-codec-dagpb/")
+ (synopsis "Implementation of the DAG-PB spec for Go")
+ (description
+ "An implementation of the @url{https://ipld.io/, IPLD DAG-PB} spec for
+@code{go-ipld-prime}.")
+ (license (list license:expat license:asl2.0))))
+
(define-public go-github-com-ipld-go-ipld-prime
(package
(name "go-github-com-ipld-go-ipld-prime")