summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-02-28 00:34:31 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-05-26 16:50:27 +0100
commitf255adb3073560141e2b98e6f8fb866b5d20fd11 (patch)
tree335166f6de06d17678c1106243fd73aeebd87354
parent01c1fb54091d587f456818bdcec45e20b717733c (diff)
gnu: Add go-github-com-ipfs-go-ipfs-cmds.
* gnu/packages/ipfs.scm (go-github-com-ipfs-go-ipfs-cmds): New variable. Change-Id: Ifd9f14dc1e43081fffaa90195ad1d30923d64da3
-rw-r--r--gnu/packages/ipfs.scm37
1 files changed, 37 insertions, 0 deletions
diff --git a/gnu/packages/ipfs.scm b/gnu/packages/ipfs.scm
index d94fa43ff1..c9d5d808f8 100644
--- a/gnu/packages/ipfs.scm
+++ b/gnu/packages/ipfs.scm
@@ -607,6 +607,43 @@ used in @code{go-ipfs} and related packages to refer to a typed hunk of data.")
with @url{https://github.com/ipld/cid, CIDs}.")
(license license:expat)))
+(define-public go-github-com-ipfs-go-ipfs-cmds
+ (package
+ (name "go-github-com-ipfs-go-ipfs-cmds")
+ (version "0.14.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/ipfs/go-ipfs-cmds")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0npgcwzxzgvygl9r9h5kbnfl1dh0hygmwk1jj1hwznyvj47x6lwl"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:go go-1.23
+ #:import-path "github.com/ipfs/go-ipfs-cmds"
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'remove-examples
+ (lambda* (#:key import-path #:allow-other-keys)
+ (with-directory-excursion (string-append "src/" import-path)
+ (delete-file-recursively "examples")))))))
+ (propagated-inputs
+ (list go-github-com-ipfs-boxo
+ go-github-com-ipfs-go-log
+ go-github-com-rs-cors
+ go-github-com-texttheater-golang-levenshtein
+ go-golang-org-x-term))
+ (home-page "https://github.com/ipfs/go-ipfs-cmds")
+ (synopsis "IPFS commands package")
+ (description
+ "Package cmds helps building both standalone and client-server
+applications.")
+ (license license:expat)))
+
(define-public go-github-com-ipfs-go-ipfs-delay
(package
(name "go-github-com-ipfs-go-ipfs-delay")