summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2026-03-01 15:47:05 +0000
committerAndreas Enge <andreas@enge.fr>2026-03-18 14:07:29 +0100
commit17c4deba8556b5e614d5950e7365ae88e68f99a3 (patch)
tree75243a12abfb02f749ba5f5e4a7eb61bd3012f6d /gnu
parent47e6dca46a7350f7d6236cad87b0e36caa2f43ac (diff)
gnu: Remove go-github-com-ipld-go-car.
* gnu/packages/ipfs.scm (go-github-com-ipld-go-car): Delete variable. (go-github-com-ipld-go-car-v2): Don't inherit from go-github-com-ipld-go-car. Fixes: guix/guix#6489 Change-Id: Ie29177d7647161e30d2d37c8949fe57b3b2239ac
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/ipfs.scm55
1 files changed, 8 insertions, 47 deletions
diff --git a/gnu/packages/ipfs.scm b/gnu/packages/ipfs.scm
index 77e1b6e0180..7d9a1b2709a 100644
--- a/gnu/packages/ipfs.scm
+++ b/gnu/packages/ipfs.scm
@@ -1591,54 +1591,8 @@ code prior to it getting merged into @code{go-cid}.")
go-ipfs stack to enable content-blocking.")
(license license:asl2.0)))
-(define-public go-github-com-ipld-go-car
- (package
- (name "go-github-com-ipld-go-car")
- (version "0.6.2")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/ipld/go-car")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32 "1c9mmvwwhl86m0jv7cp3xaay7bpp9nzq3by3r75z2hyz341zvb2c"))
- (modules '((guix build utils)))
- (snippet
- #~(begin
- ;; Submodules with their own go.mod files and packaged separately:
- ;;
- ;; - github.com/ipld/go-car/v2
- (delete-file-recursively "v2")
- ;; To reduce cycles
- (delete-file-recursively "cmd")))))
- (build-system go-build-system)
- (arguments
- (list
- #:import-path "github.com/ipld/go-car"))
- (native-inputs
- (list go-github-com-stretchr-testify))
- (propagated-inputs
- (list go-github-com-ipfs-go-block-format
- go-github-com-ipfs-go-cid
- go-github-com-ipfs-go-ipld-cbor
- go-github-com-ipfs-go-ipld-format
- go-github-com-ipfs-go-merkledag
- go-github-com-ipld-go-codec-dagpb
- go-github-com-ipld-go-ipld-prime
- go-github-com-multiformats-go-multihash))
- (home-page "https://github.com/ipld/go-car")
- (synopsis "Content addressible archive utility")
- (description
- "Package car allows inspecting and reading CARv1 files, described at
-@url{https://ipld.io/specs/transport/car}.")
- ;; This library is dual-licensed under Apache 2.0 and MIT terms.
- (license (list license:expat license:asl2.0))))
-
(define-public go-github-com-ipld-go-car-v2
(package
- (inherit go-github-com-ipld-go-car)
(name "go-github-com-ipld-go-car-v2")
(version "2.14.2")
(source
@@ -1650,6 +1604,7 @@ go-ipfs stack to enable content-blocking.")
(file-name (git-file-name name version))
(sha256
(base32 "08zkz73r76va2hvrg6gixc0nfdwwsigdncsl9h6b5ibb11zwa0gn"))))
+ (build-system go-build-system)
(arguments
(list
;; Version 2 is part of the same source and located in "v2" directory.
@@ -1665,6 +1620,8 @@ go-ipfs stack to enable content-blocking.")
(for-each delete-file
(list "v2/selective_test.go"
"v2/writer_test.go"))))))))
+ (native-inputs
+ (list go-github-com-stretchr-testify))
(propagated-inputs
(list go-github-com-ipfs-go-block-format
go-github-com-ipfs-go-cid
@@ -1678,9 +1635,13 @@ go-ipfs stack to enable content-blocking.")
go-github-com-petar-gollrb
go-github-com-whyrusleeping-cbor
go-golang-org-x-exp))
+ (home-page "https://github.com/ipld/go-car")
+ (synopsis "Content addressible archive utility")
(description
"Package car allows inspecting and reading CARv2 files, described at
-@url{https://ipld.io/specs/transport/car}.")))
+@url{https://ipld.io/specs/transport/car}.")
+ ;; This library is dual-licensed under Apache 2.0 and MIT terms.
+ (license (list license:expat license:asl2.0))))
(define-public go-github-com-ipld-go-codec-dagpb
(package