gnu: Add go-github-com-ipfs-go-ipfs-util.

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

Change-Id: Ic496282dc62b7c0d5bd9017aff6a3818b2661309
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Artyom V. Poptsov 2024-04-28 19:45:09 +03:00 committed by Sharlatan Hellseher
parent 2795d0f3e7
commit f669a24a95
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -96,6 +96,32 @@ (define-public go-github-com-ipfs-go-ipfs-cmdkit-files
@command{go-ipfs-cmds}.")
(license license:expat))))
(define-public go-github-com-ipfs-go-ipfs-util
(package
(name "go-github-com-ipfs-go-ipfs-util")
(version "0.0.3")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/ipfs/go-ipfs-util")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0x80c6a50zcv473xx0b39sz2xkwpiw3nmmjf51k5x7a4rx0rgvx4"))))
(build-system go-build-system)
(propagated-inputs (list go-github-com-mr-tron-base58
go-github-com-multiformats-go-multihash))
(arguments
(list
#:go go-1.21
#:import-path "github.com/ipfs/go-ipfs-util"))
(home-page "https://github.com/ipfs/go-ipfs-util")
(synopsis "Common utilities used by @code{go-ipfs} and related packages")
(description
"Common utilities used by @code{go-ipfs} and other related Go packages.")
(license license:expat)))
(define-public go-github-com-ipfs-go-ipfs-api
(let ((commit
"dafc2a13a4389ac1a6c2786e34ab70a4f26d3a3f")