summaryrefslogtreecommitdiff
path: root/gnu/packages
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/packages
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/packages')
-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}.")
1591go-ipfs stack to enable content-blocking.") 1591go-ipfs stack to enable content-blocking.")
1592 (license license:asl2.0))) 1592 (license license:asl2.0)))
1593 1593
1594(define-public go-github-com-ipld-go-car
1595 (package
1596 (name "go-github-com-ipld-go-car")
1597 (version "0.6.2")
1598 (source
1599 (origin
1600 (method git-fetch)
1601 (uri (git-reference
1602 (url "https://github.com/ipld/go-car")
1603 (commit (string-append "v" version))))
1604 (file-name (git-file-name name version))
1605 (sha256
1606 (base32 "1c9mmvwwhl86m0jv7cp3xaay7bpp9nzq3by3r75z2hyz341zvb2c"))
1607 (modules '((guix build utils)))
1608 (snippet
1609 #~(begin
1610 ;; Submodules with their own go.mod files and packaged separately:
1611 ;;
1612 ;; - github.com/ipld/go-car/v2
1613 (delete-file-recursively "v2")
1614 ;; To reduce cycles
1615 (delete-file-recursively "cmd")))))
1616 (build-system go-build-system)
1617 (arguments
1618 (list
1619 #:import-path "github.com/ipld/go-car"))
1620 (native-inputs
1621 (list go-github-com-stretchr-testify))
1622 (propagated-inputs
1623 (list go-github-com-ipfs-go-block-format
1624 go-github-com-ipfs-go-cid
1625 go-github-com-ipfs-go-ipld-cbor
1626 go-github-com-ipfs-go-ipld-format
1627 go-github-com-ipfs-go-merkledag
1628 go-github-com-ipld-go-codec-dagpb
1629 go-github-com-ipld-go-ipld-prime
1630 go-github-com-multiformats-go-multihash))
1631 (home-page "https://github.com/ipld/go-car")
1632 (synopsis "Content addressible archive utility")
1633 (description
1634 "Package car allows inspecting and reading CARv1 files, described at
1635@url{https://ipld.io/specs/transport/car}.")
1636 ;; This library is dual-licensed under Apache 2.0 and MIT terms.
1637 (license (list license:expat license:asl2.0))))
1638
1639(define-public go-github-com-ipld-go-car-v2 1594(define-public go-github-com-ipld-go-car-v2
1640 (package 1595 (package
1641 (inherit go-github-com-ipld-go-car)
1642 (name "go-github-com-ipld-go-car-v2") 1596 (name "go-github-com-ipld-go-car-v2")
1643 (version "2.14.2") 1597 (version "2.14.2")
1644 (source 1598 (source
@@ -1650,6 +1604,7 @@ go-ipfs stack to enable content-blocking.")
1650 (file-name (git-file-name name version)) 1604 (file-name (git-file-name name version))
1651 (sha256 1605 (sha256
1652 (base32 "08zkz73r76va2hvrg6gixc0nfdwwsigdncsl9h6b5ibb11zwa0gn")))) 1606 (base32 "08zkz73r76va2hvrg6gixc0nfdwwsigdncsl9h6b5ibb11zwa0gn"))))
1607 (build-system go-build-system)
1653 (arguments 1608 (arguments
1654 (list 1609 (list
1655 ;; Version 2 is part of the same source and located in "v2" directory. 1610 ;; Version 2 is part of the same source and located in "v2" directory.
@@ -1665,6 +1620,8 @@ go-ipfs stack to enable content-blocking.")
1665 (for-each delete-file 1620 (for-each delete-file
1666 (list "v2/selective_test.go" 1621 (list "v2/selective_test.go"
1667 "v2/writer_test.go")))))))) 1622 "v2/writer_test.go"))))))))
1623 (native-inputs
1624 (list go-github-com-stretchr-testify))
1668 (propagated-inputs 1625 (propagated-inputs
1669 (list go-github-com-ipfs-go-block-format 1626 (list go-github-com-ipfs-go-block-format
1670 go-github-com-ipfs-go-cid 1627 go-github-com-ipfs-go-cid
@@ -1678,9 +1635,13 @@ go-ipfs stack to enable content-blocking.")
1678 go-github-com-petar-gollrb 1635 go-github-com-petar-gollrb
1679 go-github-com-whyrusleeping-cbor 1636 go-github-com-whyrusleeping-cbor
1680 go-golang-org-x-exp)) 1637 go-golang-org-x-exp))
1638 (home-page "https://github.com/ipld/go-car")
1639 (synopsis "Content addressible archive utility")
1681 (description 1640 (description
1682 "Package car allows inspecting and reading CARv2 files, described at 1641 "Package car allows inspecting and reading CARv2 files, described at
1683@url{https://ipld.io/specs/transport/car}."))) 1642@url{https://ipld.io/specs/transport/car}.")
1643 ;; This library is dual-licensed under Apache 2.0 and MIT terms.
1644 (license (list license:expat license:asl2.0))))
1684 1645
1685(define-public go-github-com-ipld-go-codec-dagpb 1646(define-public go-github-com-ipld-go-codec-dagpb
1686 (package 1647 (package