guix_mirror_bot pushed a commit to branch go-team
in repository guix.
commit 800f9f9f70c28fa3635f4fc322744da8513fddfd
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sun Mar 1 15:47:05 2026 +0000
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
---
gnu/packages/ipfs.scm | 55 ++++++++-------------------------------------------
1 file changed, 8 insertions(+), 47 deletions(-)
diff --git a/gnu/packages/ipfs.scm b/gnu/packages/ipfs.scm
index 77e1b6e018..7d9a1b2709 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