summaryrefslogtreecommitdiff
path: root/gnu/packages/ipfs.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/ipfs.scm')
-rw-r--r--gnu/packages/ipfs.scm1110
1 files changed, 546 insertions, 564 deletions
diff --git a/gnu/packages/ipfs.scm b/gnu/packages/ipfs.scm
index 4140000bd1..4e2cbab38d 100644
--- a/gnu/packages/ipfs.scm
+++ b/gnu/packages/ipfs.scm
@@ -30,6 +30,8 @@
#:use-module (guix git-download)
#:use-module (guix download)
#:use-module (guix build-system go)
+ #:use-module (guix utils)
+ #:use-module (gnu packages databases)
#:use-module (gnu packages gcc)
#:use-module (gnu packages golang)
#:use-module (gnu packages golang-build)
@@ -52,8 +54,8 @@
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/ceramicnetwork/go-dag-jose")
- (commit (string-append "v" version))))
+ (url "https://github.com/ceramicnetwork/go-dag-jose")
+ (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0g34dwlnq07zg176bdhp2hcg1hg5l55s0a6hk4kiq37vm01w68j7"))
@@ -102,8 +104,8 @@
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/ipfs/bbloom")
- (commit (string-append "v" version))))
+ (url "https://github.com/ipfs/bbloom")
+ (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0dcdn7nlysynl7yrbivv8m7j83jq7pabhcff8mvfjdk583rgnkp2"))))
@@ -122,16 +124,16 @@ JSONMarshal/JSONUnmarshal to store/reload the Bloom filter.")
(define-public go-github-com-ipfs-boxo
(package
(name "go-github-com-ipfs-boxo")
- (version "0.28.0")
+ (version "0.30.0")
(source
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/ipfs/boxo")
- (commit (string-append "v" version))))
+ (url "https://github.com/ipfs/boxo")
+ (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "152g98g4j0pw5az1pc9xdrrzp4qd3cb9xflc98w69migq9il6k68"))
+ (base32 "1siicb0bs4shc220xk2i5d4p5myrh3yg64hm3yl796gjbcqgs66d"))
(modules '((guix build utils)))
(snippet
#~(begin
@@ -146,37 +148,18 @@ JSONMarshal/JSONUnmarshal to store/reload the Bloom filter.")
(build-system go-build-system)
(arguments
(list
- #:go go-1.23
#:skip-build? #t
#:embed-files #~(list "sorted-network-list.bin")
- #:test-subdirs #~(list "bitswap/..."
- "blockservice/..."
- "blockstore/..."
- "bootstrap/..."
- "chunker/..."
- "datastore/..."
- "exchange/..."
- "fetcher/..."
- "files/..."
- "filestore/..."
- ;; "gateway/..." ; missing packages
- "ipld/..."
- "ipns/..."
- "keystore/..."
- "mfs/..."
- ;; "namesys/..." ; missing packages
- "path/..."
- "peering/..."
- "pinning/..."
- "provider/..."
- ;; "routing/..." ; missing packages
- "tar/..."
- ;; "tracing/..." ; missing packages
- "util/..."
- "verifcid/...")
- #:import-path "github.com/ipfs/boxo"))
+ #:import-path "github.com/ipfs/boxo"
+ #:test-flags
+ #~(list "-skip" (string-join
+ ;; Network access is required.
+ (list "TestAddNewDNSResolver"
+ "TestOverrideDNSDefaults")
+ "|"))))
(native-inputs
- (list go-github-com-stretchr-testify))
+ (list go-github-com-libp2p-go-libp2p-kad-dht-bootstrap
+ go-github-com-stretchr-testify))
(propagated-inputs
(list go-github-com-alecthomas-units
go-github-com-cespare-xxhash-v2
@@ -189,7 +172,6 @@ JSONMarshal/JSONUnmarshal to store/reload the Bloom filter.")
go-github-com-gammazero-deque
go-github-com-google-uuid
go-github-com-gorilla-mux
- go-github-com-hashicorp-go-multierror
go-github-com-hashicorp-golang-lru-v2
go-github-com-ipfs-bbloom
go-github-com-ipfs-go-bitfield
@@ -214,7 +196,6 @@ JSONMarshal/JSONUnmarshal to store/reload the Bloom filter.")
go-github-com-libp2p-go-buffer-pool
go-github-com-libp2p-go-doh-resolver
go-github-com-libp2p-go-libp2p
- ;; go-github-com-libp2p-go-libp2p-kad-dht
go-github-com-libp2p-go-libp2p-record
go-github-com-libp2p-go-libp2p-routing-helpers
go-github-com-libp2p-go-libp2p-testing
@@ -231,17 +212,18 @@ JSONMarshal/JSONUnmarshal to store/reload the Bloom filter.")
go-github-com-polydawn-refmt
go-github-com-prometheus-client-golang
go-github-com-samber-lo
- ;; go-github-com-slok-go-http-metrics
+ go-github-com-slok-go-http-metrics
go-github-com-spaolacci-murmur3
go-github-com-whyrusleeping-base32
go-github-com-whyrusleeping-chunker
go-go-opencensus-io
go-go-opentelemetry-io-contrib-instrumentation-net-http-otelhttp
go-go-opentelemetry-io-otel
- ;; go-go-opentelemetry-io-otel-exporters-otlp-otlptrace-otlptracegrpc
- ;; go-go-opentelemetry-io-otel-exporters-otlp-otlptrace-otlptracehttp
- ;; go-go-opentelemetry-io-otel-exporters-stdout-stdouttrace
- ;; go-go-opentelemetry-io-otel-exporters-zipkin
+ go-go-opentelemetry-io-otel-exporters-otlp-otlptrace
+ go-go-opentelemetry-io-otel-exporters-otlp-otlptrace-otlptracegrpc
+ go-go-opentelemetry-io-otel-exporters-otlp-otlptrace-otlptracehttp
+ go-go-opentelemetry-io-otel-exporters-stdout-stdouttrace
+ go-go-opentelemetry-io-otel-exporters-zipkin
go-go-opentelemetry-io-otel-sdk
go-go-opentelemetry-io-otel-trace
go-go-uber-org-multierr
@@ -302,8 +284,8 @@ Verification specification
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/ipfs/go-bitfield")
- (commit (string-append "v" version))))
+ (url "https://github.com/ipfs/go-bitfield")
+ (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1zhgwdg2kizhk0hb9q5p0pwrwldd2pacz8l1pnapxh6qm3fqs663"))))
@@ -326,8 +308,8 @@ Verification specification
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/ipfs/go-block-format")
- (commit (string-append "v" version))))
+ (url "https://github.com/ipfs/go-block-format")
+ (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0pd8ww06ss922g3w2fgi3w0q66y2mkb9b2q9x5qxabrjj65xranz"))))
@@ -357,8 +339,8 @@ corresponding to the block.")
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/ipfs/go-blockservice")
- (commit (string-append "v" version))))
+ (url "https://github.com/ipfs/go-blockservice")
+ (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1pg6mj0iwlisp0sk9dng9663vvxbcnxjmbb62nkdfaf4dkbs920c"))))
@@ -393,6 +375,68 @@ provides a single @code{GetBlock/AddBlock} interface that seamlessly retrieves
data either locally or from a remote peer through the exchange.")
(license license:expat)))
+(define-public go-github-com-ipfs-go-cidutil
+ (package
+ (name "go-github-com-ipfs-go-cidutil")
+ (version "0.1.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/ipfs/go-cidutil")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0j18wf42rfxrrh2fjdbjsjvjqxwgvg46b9wl6y5ig22fx5hvpm1n"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/ipfs/go-cidutil"))
+ (propagated-inputs
+ (list go-github-com-ipfs-go-cid
+ go-github-com-multiformats-go-multibase
+ go-github-com-multiformats-go-multicodec
+ go-github-com-multiformats-go-multihash))
+ (home-page "https://github.com/ipfs/go-cidutil")
+ (synopsis "Utility functions and types for working with CIDs")
+ (description
+ "@code{go-cidutil} implements various utilities and helper functions for working
+with @url{https://github.com/ipld/cid, CIDs}.")
+ (license license:expat)))
+
+(define-public go-github-com-ipfs-go-ds-badger4
+ (package
+ (name "go-github-com-ipfs-go-ds-badger4")
+ (version "0.1.8")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/ipfs/go-ds-badger4")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1gyzywd74cb8jl0zr8b3fjjmd8rsabwk5rj17nhagigps4971h1a"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:go go-1.23
+ #:import-path "github.com/ipfs/go-ds-badger4"))
+ (native-inputs
+ (list go-github-com-stretchr-testify
+ go-go-uber-org-zap))
+ (propagated-inputs
+ (list go-github-com-dgraph-io-badger-v4
+ go-github-com-ipfs-go-datastore
+ go-github-com-ipfs-go-detect-race
+ go-github-com-ipfs-go-log-v2))
+ (home-page "https://github.com/ipfs/go-ds-badger4")
+ (synopsis "Datastore implementation using Badger v4 as backend")
+ (description
+ "This package implements a Badger v4 (a key-value database) backed
+datastore for IPFS.")
+ (license (list license:expat license:asl2.0))))
+
(define-public go-github-com-ipfs-go-ds-dynamodb
(package
(name "go-github-com-ipfs-go-ds-dynamodb")
@@ -401,8 +445,8 @@ data either locally or from a remote peer through the exchange.")
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/ipfs/go-ds-dynamodb")
- (commit (string-append "v" version))))
+ (url "https://github.com/ipfs/go-ds-dynamodb")
+ (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1z155ajpx52v71hsdjz5950z1w0qmp6c7lsqmsa9qyn7x21g7p0g"))))
@@ -430,16 +474,16 @@ scans, enabling high performance, ordered, high-cardinality prefix queries.")
(define-public go-github-com-ipfs-go-ds-flatfs
(package
(name "go-github-com-ipfs-go-ds-flatfs")
- (version "0.5.1")
+ (version "0.5.5")
(source
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/ipfs/go-ds-flatfs")
- (commit (string-append "v" version))))
+ (url "https://github.com/ipfs/go-ds-flatfs")
+ (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "1mrgl6kslq4d4zfpdyxvqxz8brhm8wphvnp916pippn7z63sayj3"))))
+ (base32 "1m5fxxdn2zj9i9nm8fdyll4wcgaknfg3vj07959mj06hwc9r3z3c"))))
(build-system go-build-system)
(arguments
(list
@@ -449,7 +493,7 @@ scans, enabling high performance, ordered, high-cardinality prefix queries.")
go-github-com-ipfs-go-log
go-github-com-jbenet-goprocess))
(home-page "https://github.com/ipfs/go-ds-flatfs")
- (synopsis "Datastore implementation using sharded directories and flat files to store data")
+ (synopsis "Datastore with sharded directories and flat files")
(description
"Package flatfs is a Datastore implementation that stores all objects in
a two-level directory structure in the local file system, regardless of the
@@ -464,8 +508,8 @@ hierarchy of the keys.")
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/ipfs/go-ds-measure")
- (commit (string-append "v" version))))
+ (url "https://github.com/ipfs/go-ds-measure")
+ (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "14p3681sb1h81qxkwblngvy72yrd73drcvamgc3v7za734l9f54b"))))
@@ -483,19 +527,49 @@ hierarchy of the keys.")
@url{https://github.com/ipfs/go-metrics-interface}.")
(license license:expat)))
+(define-public go-github-com-ipfs-go-ds-pebble
+ (package
+ (name "go-github-com-ipfs-go-ds-pebble")
+ (version "0.5.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/ipfs/go-ds-pebble")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0l0abcknray9hvk5j3vdiybgjk7yn6j3awznpy46j08g97z88ljw"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/ipfs/go-ds-pebble"))
+ (propagated-inputs
+ (list go-github-com-cockroachdb-pebble-v2
+ go-github-com-ipfs-go-datastore
+ go-github-com-ipfs-go-log-v2))
+ (home-page "https://github.com/ipfs/go-ds-pebble")
+ (synopsis "Pebble-backed datastore")
+ (description
+ "This is a simple adapter to plug in
+@url{https://github.com/cockroachdb/pebble, cockroachdb/pebble} as a backend
+anywhere that accepts a @url{https://github.com/ipfs/go-datastore,
+go-datastore}.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public go-github-com-ipfs-go-fs-lock
(package
(name "go-github-com-ipfs-go-fs-lock")
- (version "0.0.7")
+ (version "0.1.1")
(source
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/ipfs/go-fs-lock")
- (commit (string-append "v" version))))
+ (url "https://github.com/ipfs/go-fs-lock")
+ (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "1zf52cq7j59pwdy4wd8h5gym8ph2big0nma05xwl61wrsyjwsngz"))))
+ (base32 "14m5038067px6vvqyvx6449f0f62nj8d0p5hkf9rj8ykfahs80ff"))))
(build-system go-build-system)
(arguments
(list
@@ -519,8 +593,8 @@ hierarchy of the keys.")
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/ipfs/go-ipfs-blockstore")
- (commit (string-append "v" version))))
+ (url "https://github.com/ipfs/go-ipfs-blockstore")
+ (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1a3a0fm8k8njdlq2w795qff01piadjfp6r5r2hww69fxqsplln9l"))))
@@ -533,7 +607,7 @@ hierarchy of the keys.")
go-github-com-ipfs-bbloom
go-github-com-ipfs-go-block-format
go-github-com-ipfs-go-cid
- go-github-com-ipfs-go-datastore
+ go-github-com-ipfs-go-datastore-0.6
go-github-com-ipfs-go-ipfs-ds-help
go-github-com-ipfs-go-ipfs-util
go-github-com-ipfs-go-ipld-format
@@ -544,95 +618,34 @@ hierarchy of the keys.")
(home-page "https://github.com/ipfs/go-ipfs-blockstore")
(synopsis "Caching wrapper over a IPFS datastore")
(description
- "@code{go-ipfs-blockstore} implements a thin wrapper over an IPFS datastore,
-giving a clean interface for getting and putting block objects.")
+ "@code{go-ipfs-blockstore} implements a thin wrapper over an IPFS
+datastore, giving a clean interface for getting and putting block objects.")
(license license:expat)))
(define-public go-github-com-ipfs-go-ipfs-blocksutil
- ;; Use the latest commit from the "master" branch to fix the build with
- ;; go-1.21, see <https://github.com/ipfs/go-ipfs-blocksutil/issues/25>.
- (let ((commit "ce0497f5ee55c479db98905aec8ff56c27aad2a2")
- (revision "0"))
- (package
- (name "go-github-com-ipfs-go-ipfs-blocksutil")
- (version (git-version "0.0.1" revision commit))
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/ipfs/go-ipfs-blocksutil")
- (commit commit)))
- (file-name (git-file-name name version))
- (sha256
- (base32 "1ya6376wphp51rv48nmv4jw3x0mf6ym5yx1650fbkp5l5crqpdb8"))))
- (build-system go-build-system)
- (arguments
- (list
- #:import-path "github.com/ipfs/go-ipfs-blocksutil"))
- (propagated-inputs
- (list go-github-com-ipfs-go-block-format))
- (home-page "https://github.com/ipfs/go-ipfs-blocksutil")
- (synopsis "Utility functions for working with IPFS blocks")
- (description
- "This package provides an utility functions for working with
-@url{https://github.com/ipfs/go-block-format, IPFS blocks}.")
- (license license:expat))))
-
-(define-public go-github-com-ipfs-go-cid
- (package
- (name "go-github-com-ipfs-go-cid")
- (version "0.4.1")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/ipfs/go-cid")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32 "0gfd5dg0shj2daraai2kkf8sg24jp5cr6dsv857wp4q1ni612a23"))))
- (build-system go-build-system)
- (arguments
- (list
- #:import-path "github.com/ipfs/go-cid"))
- (propagated-inputs
- (list go-github-com-multiformats-go-multihash
- go-github-com-multiformats-go-multibase
- go-github-com-multiformats-go-varint))
- (home-page "https://github.com/ipfs/go-cid")
- (synopsis "Content ID v1 implemented in Go")
- (description
- "Implementation in Go of the @url{https://github.com/ipld/cid, CID spec}. It is
-used in @code{go-ipfs} and related packages to refer to a typed hunk of data.")
- (license license:expat)))
-
-(define-public go-github-com-ipfs-go-cidutil
(package
- (name "go-github-com-ipfs-go-cidutil")
- (version "0.1.0")
+ (name "go-github-com-ipfs-go-ipfs-blocksutil")
+ (version "0.0.2")
(source
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/ipfs/go-cidutil")
- (commit (string-append "v" version))))
+ (url "https://github.com/ipfs/go-ipfs-blocksutil")
+ (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "0j18wf42rfxrrh2fjdbjsjvjqxwgvg46b9wl6y5ig22fx5hvpm1n"))))
+ (base32 "0g6b4b2b5wp5r0dh20qdfdm76qnh421y8lgz4381r02q2flh57dv"))))
(build-system go-build-system)
(arguments
(list
- #:import-path "github.com/ipfs/go-cidutil"))
+ #:import-path "github.com/ipfs/go-ipfs-blocksutil"))
(propagated-inputs
- (list go-github-com-ipfs-go-cid
- go-github-com-multiformats-go-multibase
- go-github-com-multiformats-go-multicodec
- go-github-com-multiformats-go-multihash))
- (home-page "https://github.com/ipfs/go-cidutil")
- (synopsis "Utility functions and types for working with CIDs")
+ (list go-github-com-ipfs-go-block-format))
+ (home-page "https://github.com/ipfs/go-ipfs-blocksutil")
+ (synopsis "Utility functions for working with IPFS blocks")
(description
- "@code{go-cidutil} implements various utilities and helper functions for working
-with @url{https://github.com/ipld/cid, CIDs}.")
+ "This package provides an utility functions for working with
+@url{https://github.com/ipfs/go-block-format, IPFS blocks}.")
(license license:expat)))
(define-public go-github-com-ipfs-go-ipfs-cmds
@@ -643,15 +656,14 @@ with @url{https://github.com/ipld/cid, CIDs}.")
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/ipfs/go-ipfs-cmds")
- (commit (string-append "v" version))))
+ (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
@@ -680,8 +692,8 @@ applications.")
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/ipfs/go-ipfs-delay")
- (commit (string-append "v" version))))
+ (url "https://github.com/ipfs/go-ipfs-delay")
+ (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0a5acj622sk1hibnh893mya4h86nsy1dan0wlh9q444c04iqpviw"))))
@@ -704,8 +716,8 @@ objects.")
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/ipfs/go-ipfs-ds-help")
- (commit (string-append "v" version))))
+ (url "https://github.com/ipfs/go-ipfs-ds-help")
+ (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1xmn9pdyrcim9ahqs9pkh0c9ac71gilb3pb48kcagq8zxf22i4bj"))))
@@ -728,36 +740,27 @@ keys used by @code{go-ipfs} (Kubo).")
(define-public go-github-com-ipfs-go-datastore
(package
(name "go-github-com-ipfs-go-datastore")
- (version "0.6.0")
+ (version "0.8.2")
(source
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/ipfs/go-datastore")
- (commit (string-append "v" version))))
+ (url "https://github.com/ipfs/go-datastore")
+ (commit (string-append "v" version))))
+ (modules '((guix build utils)))
+ (snippet
+ #~(begin
+ ;; Submodules with their own go.mod files and packaged separately:
+ ;;
+ ;; - github.com/ipfs/go-datastore/fuzz
+ (delete-file-recursively "fuzz")))
(file-name (git-file-name name version))
(sha256
- (base32 "1xbhh3gm7bgd2d1p821w8gmbh87aix1g1ynhbl7gjaxxyhrsh68n"))))
+ (base32 "02n38i09f8ffr894fzlsl80ahf32mpap5q004acz9cdg9a67pdz3"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/ipfs/go-datastore"
- #:test-subdirs
- #~(list "autobatch/..."
- "delayed/..."
- "examples/..."
- "failstore/..."
- ;; "fuzz/..." ; introduces cycle, for CLI
- "keytransform/..."
- "mount/..."
- "namespace/..."
- "query/..."
- "retrystore/..."
- "scoped/..."
- "sync/..."
- "test/..."
- "trace/..."
- ".")
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'remove-examples
@@ -771,9 +774,9 @@ keys used by @code{go-ipfs} (Kubo).")
(list go-github-com-google-uuid
go-github-com-ipfs-go-detect-race
go-github-com-ipfs-go-ipfs-delay
- go-github-com-jbenet-goprocess
- go-go-uber-org-multierr
- go-golang-org-x-xerrors))
+ go-go-opentelemetry-io-otel
+ go-go-opentelemetry-io-otel-trace
+ go-go-uber-org-multierr))
(home-page "https://github.com/ipfs/go-datastore")
(synopsis "Key-value datastore interfaces")
(description
@@ -785,19 +788,48 @@ different strengths without committing the application to one datastore
throughout its lifetime.")
(license license:expat)))
+(define-public go-github-com-ipfs-go-datastore-0.6
+ (package
+ (inherit go-github-com-ipfs-go-datastore)
+ (name "go-github-com-ipfs-go-datastore")
+ (version "0.6.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/ipfs/go-datastore")
+ (commit (string-append "v" version))))
+ (modules '((guix build utils)))
+ (snippet
+ #~(begin
+ ;; Submodules with their own go.mod files and packaged separately:
+ ;;
+ ;; - github.com/ipfs/go-datastore/fuzz
+ (delete-file-recursively "fuzz")))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1xbhh3gm7bgd2d1p821w8gmbh87aix1g1ynhbl7gjaxxyhrsh68n"))))
+ (propagated-inputs
+ (list go-github-com-google-uuid
+ go-github-com-ipfs-go-detect-race
+ go-github-com-ipfs-go-ipfs-delay
+ go-github-com-jbenet-goprocess
+ go-go-uber-org-multierr
+ go-golang-org-x-xerrors))))
+
(define-public go-github-com-ipfs-go-ds-badger
(package
(name "go-github-com-ipfs-go-ds-badger")
- (version "0.3.0")
+ (version "0.3.4")
(source
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/ipfs/go-ds-badger")
- (commit (string-append "v" version))))
+ (url "https://github.com/ipfs/go-ds-badger")
+ (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "06hn79airlqrgsbsppin98swbqwz58ji659fyrk1wivp4iz2na3h"))))
+ (base32 "0ywq8cs6yf5vqfbw6rd5pw79sqljd87qi0ykv4gg736s7g7mkjr6"))))
(build-system go-build-system)
(arguments
(list
@@ -824,8 +856,8 @@ by @url{https://dgraph.io/docs/badger,Badger}.")
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/ipfs/go-ds-leveldb")
- (commit (string-append "v" version))))
+ (url "https://github.com/ipfs/go-ds-leveldb")
+ (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1hi7vmjpzzh00zcf0638rvgiqj4j8difz5kzr0pilr0z6zcb7dq3"))))
@@ -851,8 +883,8 @@ LevelDB backend.")
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/ipfs/go-detect-race")
- (commit (string-append "v" version))))
+ (url "https://github.com/ipfs/go-detect-race")
+ (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0rqb0q66d7z852j5mhlr025dz698c44w014g4mx587amr1rvwqna"))))
@@ -873,8 +905,8 @@ LevelDB backend.")
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/ipfs/go-ipfs-exchange-interface")
- (commit (string-append "v" version))))
+ (url "https://github.com/ipfs/go-ipfs-exchange-interface")
+ (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0h5jizhjq4yz9sikqc6yhv5gsb8fgv67v0qjzagyhfznfx8kwv1d"))))
@@ -899,8 +931,8 @@ LevelDB backend.")
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/ipfs/go-ipfs-exchange-offline")
- (commit (string-append "v" version))))
+ (url "https://github.com/ipfs/go-ipfs-exchange-offline")
+ (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1ad28xbqbxc93ckjnlifbk7p58qis7ayfpndav33n6b4sq6s2a0r"))))
@@ -932,15 +964,18 @@ but returns nil values to every request.")
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/ipfs/go-ipfs-pq")
- (commit (string-append "v" version))))
+ (url "https://github.com/ipfs/go-ipfs-pq")
+ (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0zi177lysf6f2zap9l0yxcw4r2xvjiji1yb1jzdmiif2ahvi0v84"))))
(build-system go-build-system)
(arguments
(list
- #:import-path "github.com/ipfs/go-ipfs-pq"))
+ #:import-path "github.com/ipfs/go-ipfs-pq"
+ ;; By using Go version higher than 1.21 one test keep failing with
+ ;; error: the values were not returned in sorted order.
+ #:test-flags #~(list "-skip" "TestCorrectnessOfPop")))
(home-page "https://github.com/ipfs/go-ipfs-pq")
(synopsis "Priority queue used by go-ipfs")
(description "Package pq implements a priority queue.")
@@ -954,8 +989,8 @@ but returns nil values to every request.")
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/ipfs/go-ipfs-redirects-file")
- (commit (string-append "v" version))))
+ (url "https://github.com/ipfs/go-ipfs-redirects-file")
+ (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "16lisd5jbniang85jzfwfigw0kmz73913fsrfj49nh92mpw50qpz"))))
@@ -983,8 +1018,8 @@ parsing.")
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/ipfs/go-ipfs-routing")
- (commit (string-append "v" version))))
+ (url "https://github.com/ipfs/go-ipfs-routing")
+ (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0j5pyp35z0jnqzz7iiknqx3234swqrpqz478ng8al3b6gqaza9ks"))))
@@ -1025,8 +1060,8 @@ development.")
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/ipfs/go-ipfs-util")
- (commit (string-append "v" version))))
+ (url "https://github.com/ipfs/go-ipfs-util")
+ (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0x80c6a50zcv473xx0b39sz2xkwpiw3nmmjf51k5x7a4rx0rgvx4"))))
@@ -1050,8 +1085,8 @@ development.")
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/ipfs/go-ipld-cbor")
- (commit (string-append "v" version))))
+ (url "https://github.com/ipfs/go-ipld-cbor")
+ (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0yxk4sbf1fk9aaizzpz3h30049wqvaz0s3jnbdd5akhj7wg89h21"))))
@@ -1074,6 +1109,34 @@ implementation of @code{go-ipld-format}")
"An implementation of a @url{https://cbor.io/, CBOR} encoded merkledag object.")
(license license:expat)))
+(define-public go-github-com-ipfs-go-ipld-format
+ (package
+ (name "go-github-com-ipfs-go-ipld-format")
+ (version "0.6.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/ipfs/go-ipld-format")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0zl172ncmx9h5z2p3d0j1377xm9glw4zfyamks31p0pvvx2kyn7c"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/ipfs/go-ipld-format"))
+ (propagated-inputs
+ (list go-github-com-multiformats-go-multihash
+ go-github-com-ipfs-go-block-format
+ go-github-com-ipfs-go-cid))
+ (home-page "https://github.com/ipfs/go-ipld-format")
+ (synopsis "IPLD Node and Resolver interfaces in Go")
+ (description
+ "@code{go-ipld-format} is a set of interfaces that a type needs to implement in
+order to be a part of the @acronym{IPLD, InterPlanetary Linked Data} merkle-forest.")
+ (license license:expat)))
+
(define-public go-github-com-ipfs-go-ipld-git
(package
(name "go-github-com-ipfs-go-ipld-git")
@@ -1082,8 +1145,8 @@ implementation of @code{go-ipld-format}")
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/ipfs/go-ipld-git")
- (commit (string-append "v" version))))
+ (url "https://github.com/ipfs/go-ipld-git")
+ (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1v52qzgmx7qym0qzkzkry2kfj58f9hh7c8qycg74sqbd9zb1ynjj"))))
@@ -1116,34 +1179,6 @@ IPLD graph as detailed below. Objects are demonstrated here using both
@url{https://ipld.io/docs/schemas/,IPLD Schemas} and example JSON forms.")
(license license:expat)))
-(define-public go-github-com-ipfs-go-ipld-format
- (package
- (name "go-github-com-ipfs-go-ipld-format")
- (version "0.6.0")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/ipfs/go-ipld-format")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32 "0zl172ncmx9h5z2p3d0j1377xm9glw4zfyamks31p0pvvx2kyn7c"))))
- (build-system go-build-system)
- (arguments
- (list
- #:import-path "github.com/ipfs/go-ipld-format"))
- (propagated-inputs
- (list go-github-com-multiformats-go-multihash
- go-github-com-ipfs-go-block-format
- go-github-com-ipfs-go-cid))
- (home-page "https://github.com/ipfs/go-ipld-format")
- (synopsis "IPLD Node and Resolver interfaces in Go")
- (description
- "@code{go-ipld-format} is a set of interfaces that a type needs to implement in
-order to be a part of the @acronym{IPLD, InterPlanetary Linked Data} merkle-forest.")
- (license license:expat)))
-
(define-public go-github-com-ipfs-go-ipld-legacy
(package
(name "go-github-com-ipfs-go-ipld-legacy")
@@ -1152,8 +1187,8 @@ order to be a part of the @acronym{IPLD, InterPlanetary Linked Data} merkle-fore
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/ipfs/go-ipld-legacy")
- (commit (string-append "v" version))))
+ (url "https://github.com/ipfs/go-ipld-legacy")
+ (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0sc2zc3lyxy30fzynwdpfrl8jhh1ynwixn1crrv8hzn93yix6550"))))
@@ -1183,8 +1218,8 @@ order to be a part of the @acronym{IPLD, InterPlanetary Linked Data} merkle-fore
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/ipfs/go-merkledag")
- (commit (string-append "v" version))))
+ (url "https://github.com/ipfs/go-merkledag")
+ (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0g1hrk2iw7gvk5qyv5avcc2idkc13w8agz6d7390bwjk18bdd5gr"))))
@@ -1222,19 +1257,49 @@ Graphs, DAG} data structures as specified in
@url{https://docs.ipfs.tech/concepts/merkle-dag}.")
(license license:expat)))
+(define-public go-github-com-ipfs-go-metrics-interface
+ (package
+ (name "go-github-com-ipfs-go-metrics-interface")
+ (version "0.3.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/ipfs/go-metrics-interface")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0d7jh9aclmxq4z5hynn4lc0ab8c8rip92xkc224vjw2y7kg6jyvg"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/ipfs/go-metrics-interface"))
+ (propagated-inputs
+ (list go-github-com-ipfs-go-cid
+ go-github-com-ipfs-go-datastore
+ go-github-com-multiformats-go-base32
+ go-github-com-multiformats-go-multihash))
+ (home-page "https://github.com/ipfs/go-metrics-interface")
+ ;; XXX: The project neither has no a proper description, nor a README, see
+ ;; <https://github.com/ipfs/go-metrics-interface/issues/1>.
+ (synopsis "Metrics interface for IPFS")
+ (description
+ "Metrics interface for IPFS (Kubo).")
+ (license license:expat)))
+
(define-public go-github-com-ipfs-go-metrics-prometheus
(package
(name "go-github-com-ipfs-go-metrics-prometheus")
- (version "0.0.3")
+ (version "0.1.0")
(source
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/ipfs/go-metrics-prometheus")
- (commit (string-append "v" version))))
+ (url "https://github.com/ipfs/go-metrics-prometheus")
+ (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "1gyh2g912lrwghs2f5alh42dgwsbbdg1wan5vw8s0a2ni0avsfib"))))
+ (base32 "12bvlg1pnwxyfn8paxf0viky5mv5isdql29mflvjhgs5g48mnc3s"))))
(build-system go-build-system)
(arguments
(list
@@ -1257,8 +1322,8 @@ Graphs, DAG} data structures as specified in
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/ipfs/go-peertaskqueue")
- (commit (string-append "v" version))))
+ (url "https://github.com/ipfs/go-peertaskqueue")
+ (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0mz6kj0d23p7hfmcrh8l0khj6gx9f58v2ls5336im6yw4vkzr711"))))
@@ -1287,8 +1352,8 @@ tasks distributed among peers.")
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/ipfs/go-test")
- (commit (string-append "v" version))))
+ (url "https://github.com/ipfs/go-test")
+ (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0h2lns6xl874m175l692qwsrwrv7jcx54ncqygjy9l3910ny2dg2"))))
@@ -1320,8 +1385,8 @@ IPFS related projects.")
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/ipfs/go-unixfsnode")
- (commit (string-append "v" version))))
+ (url "https://github.com/ipfs/go-unixfsnode")
+ (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0rn4x8f9a1ipwz0rg19ylbyh2s3q81vpnlan9yjscnfxx1r6gdbg"))))
@@ -1335,17 +1400,17 @@ IPFS related projects.")
(list go-github-com-stretchr-testify))
(propagated-inputs
(list ;; go-github-com-ipfs-boxo ; introduce cycle
- go-github-com-ipfs-go-bitfield
- go-github-com-ipfs-go-cid
- go-github-com-ipfs-go-ipld-format
- go-github-com-ipfs-go-test
- go-github-com-ipld-go-car-v2
- go-github-com-ipld-go-codec-dagpb
- go-github-com-ipld-go-ipld-prime
- go-github-com-multiformats-go-multicodec
- go-github-com-multiformats-go-multihash
- go-github-com-spaolacci-murmur3
- go-google-golang-org-protobuf))
+ go-github-com-ipfs-go-bitfield
+ go-github-com-ipfs-go-cid
+ go-github-com-ipfs-go-ipld-format
+ go-github-com-ipfs-go-test
+ go-github-com-ipld-go-car-v2
+ go-github-com-ipld-go-codec-dagpb
+ go-github-com-ipld-go-ipld-prime
+ go-github-com-multiformats-go-multicodec
+ go-github-com-multiformats-go-multihash
+ go-github-com-spaolacci-murmur3
+ go-google-golang-org-protobuf))
(home-page "https://github.com/ipfs/go-unixfsnode")
(synopsis "ADL IPLD prime node implementation of protobuf")
(description
@@ -1368,8 +1433,8 @@ based of paths.")
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/ipfs/go-verifcid")
- (commit (string-append "v" version))))
+ (url "https://github.com/ipfs/go-verifcid")
+ (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "05i6wp2nln0mlr1pivmva7j6bwa09k7jl04acx1lw65h4d9nxsjm"))))
@@ -1398,8 +1463,8 @@ code prior to it getting merged into @code{go-cid}.")
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/ipfs-shipyard/nopfs")
- (commit (string-append "v" version))))
+ (url "https://github.com/ipfs-shipyard/nopfs")
+ (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1qbp7hny0v6n74agh1ym98ndnnr53aq1hd6ybm5q214fah7k23r7"))
@@ -1439,9 +1504,9 @@ code prior to it getting merged into @code{go-cid}.")
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/ipfs-shipyard/nopfs")
- (commit (go-version->git-ref version
- #:subdir "ipfs"))))
+ (url "https://github.com/ipfs-shipyard/nopfs")
+ (commit (go-version->git-ref version
+ #:subdir "ipfs"))))
(file-name (git-file-name name version))
(sha256
(base32 "00lwizzdfdx6kynxddal3all6q9dhwqanpkw0d0vxlwik4nkvxa5"))
@@ -1454,23 +1519,15 @@ code prior to it getting merged into @code{go-cid}.")
;; Consider to implement it as re-usable procedure in
;; guix/build/utils or guix/build-system/go.
(define (delete-all-but directory . preserve)
- (define (directory? x)
- (and=> (stat x #f)
- (compose (cut eq? 'directory <>) stat:type)))
(with-directory-excursion directory
- (let* ((pred
- (negate (cut member <> (append '("." "..") preserve))))
+ (let* ((pred (negate (cut member <>
+ (cons* "." ".." preserve))))
(items (scandir "." pred)))
- (for-each (lambda (item)
- (if (directory? item)
- (delete-file-recursively item)
- (delete-file item)))
- items))))
+ (for-each (cut delete-file-recursively <>) items))))
(delete-all-but "." "ipfs")))))
(build-system go-build-system)
(arguments
(list
- #:go go-1.23
#:embed-files #~(list "sorted-network-list.bin")
#:import-path "github.com/ipfs-shipyard/nopfs/ipfs"
#:unpack-path "github.com/ipfs-shipyard/nopfs"))
@@ -1498,8 +1555,8 @@ go-ipfs stack to enable content-blocking.")
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/ipld/go-car")
- (commit (string-append "v" version))))
+ (url "https://github.com/ipld/go-car")
+ (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1c9mmvwwhl86m0jv7cp3xaay7bpp9nzq3by3r75z2hyz341zvb2c"))
@@ -1544,8 +1601,8 @@ go-ipfs stack to enable content-blocking.")
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/ipld/go-car")
- (commit (string-append "v" version))))
+ (url "https://github.com/ipld/go-car")
+ (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "08zkz73r76va2hvrg6gixc0nfdwwsigdncsl9h6b5ibb11zwa0gn"))))
@@ -1589,8 +1646,8 @@ go-ipfs stack to enable content-blocking.")
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/ipld/go-codec-dagpb")
- (commit (string-append "v" version))))
+ (url "https://github.com/ipld/go-codec-dagpb")
+ (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1jbrwbgr222wsi95gdflbj350csja6k8vphdq7c9bm50ipr8bvkq"))))
@@ -1617,8 +1674,8 @@ go-ipfs stack to enable content-blocking.")
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/ipld/go-ipld-prime")
- (commit (string-append "v" version))))
+ (url "https://github.com/ipld/go-ipld-prime")
+ (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1ycb08h0hvq3mw3sbjkjzp5sfcxmss155jxiv5gjg7myxvzk91ja"))))
@@ -1665,8 +1722,8 @@ basic operations on IPLD objects (traversals, etc).")
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/ipfs/go-log")
- (commit (string-append "v" version))))
+ (url "https://github.com/ipfs/go-log")
+ (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1yh3sw8knpy364h8h8rqw193whnjd6fbc13cxh6zs29z3x2a7aqa"))))
@@ -1695,8 +1752,8 @@ their levels to be controlled individually.")
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/ipfs/go-log")
- (commit (string-append "v" version))))
+ (url "https://github.com/ipfs/go-log")
+ (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0gj2yqrv6wgpkv6f9c1anmw5kwg59plv0jrcxb3zmjrnk8fsn1jr"))))
@@ -1709,49 +1766,137 @@ their levels to be controlled individually.")
(list
#:import-path "github.com/ipfs/go-log"))))
-(define-public go-github-com-ipfs-go-metrics-interface
+(define-public go-github-com-ipshipyard-p2p-forge
(package
- (name "go-github-com-ipfs-go-metrics-interface")
- (version "0.0.1")
+ (name "go-github-com-ipshipyard-p2p-forge")
+ (version "0.5.1")
(source
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/ipfs/go-metrics-interface")
- (commit (string-append "v" version))))
+ (url "https://github.com/ipshipyard/p2p-forge")
+ (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "09xc71175sfnqlizkbw066jagnbag9ihvs240z6g6dm2yx3w5xgy"))))
+ (base32 "0qh820v738fn1k5scd99v230s4xcz26wg2s41farirhdjx8lmzc6"))))
(build-system go-build-system)
(arguments
(list
- #:import-path "github.com/ipfs/go-metrics-interface"))
+ ;; TODO: Enalbe when all missing inputs are packaged, using for Kubo as
+ ;; source only package.
+ #:skip-build? #t
+ #:tests? #f
+ #:import-path "github.com/ipshipyard/p2p-forge"))
(propagated-inputs
- (list go-github-com-ipfs-go-cid
+ (list go-github-com-aws-aws-sdk-go
+ go-github-com-caddyserver-certmagic
+ ;; go-github-com-coredns-caddy
+ ;; go-github-com-coredns-coredns
+ go-github-com-felixge-httpsnoop
go-github-com-ipfs-go-datastore
- go-github-com-multiformats-go-base32
- go-github-com-multiformats-go-multihash))
- (home-page "https://github.com/ipfs/go-metrics-interface")
- ;; XXX: The project neither has no a proper description, nor a README, see
- ;; <https://github.com/ipfs/go-metrics-interface/issues/1>.
- (synopsis "Metrics interface for IPFS")
+ go-github-com-ipfs-go-ds-badger4
+ go-github-com-ipfs-go-ds-dynamodb
+ go-github-com-ipfs-go-log-v2
+ go-github-com-joho-godotenv
+ go-github-com-letsencrypt-pebble-v2
+ go-github-com-libp2p-go-libp2p
+ go-github-com-mholt-acmez-v3
+ go-github-com-miekg-dns
+ go-github-com-multiformats-go-multiaddr
+ go-github-com-multiformats-go-multiaddr-dns
+ go-github-com-multiformats-go-multibase
+ go-github-com-prometheus-client-golang
+ go-github-com-slok-go-http-metrics
+ go-go-uber-org-zap))
+ (home-page "https://github.com/ipshipyard/p2p-forge")
+ (synopsis "Authoritative DNS server for distributing DNS subdomains to libp2p peers")
(description
- "Metrics interface for IPFS (Kubo).")
+ "This package provides an Authoritative DNS server and HTTP+libp2p API
+for distributing DNS subdomains with CA-signed TLS certificates to libp2p
+peers.")
+ (license (list license:asl2.0 license:expat))))
+
+(define-public go-github-com-libp2p-go-cidranger
+ (package
+ (name "go-github-com-libp2p-go-cidranger")
+ (version "1.1.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/libp2p/go-cidranger")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "05hzlk5hx7qna5znr3q1crr0qb7h8yrv1v96pj015dh0kbdkdaba"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ ;; XXX: Check if the most of the tests may be enabled:
+ ;; src/github.com/libp2p/go-cidranger/trie_test.go:557:8: cannot use
+ ;; 4294967295 (untyped int constant) as int value in assignment
+ ;; (overflows).
+ #:tests? (and (target-64bit?)
+ (not (%current-target-system)))
+ #:import-path "github.com/libp2p/go-cidranger"))
+ (native-inputs
+ (list go-github-com-stretchr-testify))
+ (propagated-inputs
+ (list go-github-com-ipfs-go-detect-race))
+ (home-page "https://github.com/libp2p/go-cidranger")
+ (synopsis "Fast IP to CIDR lookup in Golang")
+ (description
+ "Fast IP to @url{https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing,
+CIDR} block(s) lookup using trie in Golang, inspired by
+@url{https://vincent.bernat.im/en/blog/2017-ipv4-route-lookup-linux, IPv4
+route lookup Linux}. Possible use cases include detecting if a IP address is
+from published cloud provider CIDR blocks (e.g. 52.95.110.1 is contained in
+published AWS Route53 CIDR 52.95.110.0/24), IP routing rules, etc.")
+ (license license:expat)))
+
+(define-public go-github-com-libp2p-go-doh-resolver
+ (package
+ (name "go-github-com-libp2p-go-doh-resolver")
+ (version "0.4.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/libp2p/go-doh-resolver")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0asni7f3gd65bjfqz99fqchz9y75cpgmfwkkhsbq0y2dydagw666"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/libp2p/go-doh-resolver"))
+ (native-inputs
+ (list go-github-com-stretchr-testify))
+ (propagated-inputs
+ (list go-github-com-ipfs-go-log-v2
+ go-github-com-miekg-dns
+ go-github-com-multiformats-go-multiaddr-dns))
+ (home-page "https://github.com/libp2p/go-doh-resolver")
+ (synopsis "DNS over HTTPS resolver")
+ (description
+ "This package provides an implementation DNS over HTTPS resolver as
+specified in @url{https://datatracker.ietf.org/doc/html/rfc8484, RFC 8484}.")
(license license:expat)))
(define-public go-github-com-libp2p-go-libp2p
(package
(name "go-github-com-libp2p-go-libp2p")
- (version "0.40.0")
+ (version "0.41.1")
(source
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/libp2p/go-libp2p")
- (commit (string-append "v" version))))
+ (url "https://github.com/libp2p/go-libp2p")
+ (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "1w9bx5g5c39ik4d7lxrhh1hv6k1mw9hz61l3ipshylf5jc3azc8f"))
+ (base32 "1sxx27hgryg93a03n08vasycaj76iwclzdskajjy8bivk5z9ls9p"))
(modules '((guix build utils)))
(snippet
#~(begin
@@ -1764,7 +1909,6 @@ their levels to be controlled individually.")
(build-system go-build-system)
(arguments
(list
- #:go go-1.22
#:embed-files #~(list "sorted-network-list.bin")
#:import-path "github.com/libp2p/go-libp2p"
;; XXX: Check how to enable the most of the tests, see GitHub Actions
@@ -1790,18 +1934,20 @@ their levels to be controlled individually.")
go-github-com-gorilla-websocket
go-github-com-hashicorp-golang-lru-arc-v2
go-github-com-hashicorp-golang-lru-v2
+ go-github-com-huin-goupnp
go-github-com-ipfs-go-cid
go-github-com-ipfs-go-datastore
go-github-com-ipfs-go-ds-badger
go-github-com-ipfs-go-ds-leveldb
go-github-com-ipfs-go-log-v2
+ go-github-com-jackpal-go-nat-pmp
go-github-com-jbenet-go-temp-err-catcher
go-github-com-klauspost-compress
+ go-github-com-koron-go-ssdp
go-github-com-libp2p-go-buffer-pool
go-github-com-libp2p-go-flow-metrics
go-github-com-libp2p-go-libp2p-asn-util
go-github-com-libp2p-go-msgio
- go-github-com-libp2p-go-nat
go-github-com-libp2p-go-netroute
go-github-com-libp2p-go-reuseport
go-github-com-libp2p-go-yamux-v5
@@ -1845,29 +1991,6 @@ their levels to be controlled individually.")
@url{https://github.com/libp2p/specs,libp2p}.")
(license license:expat)))
-;; For kubo@0.32.0
-(define-public go-github-com-libp2p-go-libp2p-0.38
- (hidden-package (package/inherit go-github-com-libp2p-go-libp2p
- (name "go-github-com-libp2p-go-libp2p")
- (version "0.38.2")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/libp2p/go-libp2p")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32 "1c88qgkvyvdjsy5bds3ylcikpj00jxhyxnv7alb6x860xm9703xk"))))
- (propagated-inputs
- (modify-inputs (package-propagated-inputs go-github-com-libp2p-go-libp2p)
- (replace "go-github-com-libp2p-go-yamux-v5"
- go-github-com-libp2p-go-yamux-v4)
- (replace "go-github-com-pion-ice-v4"
- go-github-com-pion-ice-v2)
- (replace "go-github-com-pion-webrtc-v4"
- go-github-com-pion-webrtc-v3))))))
-
(define-public go-github-com-libp2p-go-libp2p-gostream
(package
(name "go-github-com-libp2p-go-libp2p-gostream")
@@ -1876,8 +1999,8 @@ their levels to be controlled individually.")
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/libp2p/go-libp2p-gostream")
- (commit (string-append "v" version))))
+ (url "https://github.com/libp2p/go-libp2p-gostream")
+ (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1zq5vhjj590azc1gwwiyqilf9ifxp8nz4hziz0fxs5ly2xhjj1mw"))))
@@ -1912,8 +2035,8 @@ Go with @url{https://github.com/libp2p/libp2p, LibP2P} streams.")
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/libp2p/go-libp2p-http")
- (commit (string-append "v" version))))
+ (url "https://github.com/libp2p/go-libp2p-http")
+ (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0v65xjj1ljpx9bfwqivgncc6imrykw1dd8m2zvaqiygv0dirzkzn"))))
@@ -1945,35 +2068,34 @@ through @url{https://github.com/libp2p/libp2p, LibP2P} using Go's standard
(define-public go-github-com-libp2p-go-libp2p-kad-dht
(package
(name "go-github-com-libp2p-go-libp2p-kad-dht")
- (version "0.29.2")
+ (version "0.33.1")
(source
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/libp2p/go-libp2p-kad-dht")
- (commit (string-append "v" version))))
+ (url "https://github.com/libp2p/go-libp2p-kad-dht")
+ (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "1cmj04sypdky5fc3b50fhz8h1aarg0ngdi15cyfwn6yb98pmfq4z"))))
+ (base32 "1m263kjax7zyn3k3xgiamh6fcfl4724hm64z6mvmlslcx5zvmmzz"))))
(build-system go-build-system)
(arguments
(list
- #:go go-1.23
#:embed-files #~(list "sorted-network-list.bin")
- #:import-path "github.com/libp2p/go-libp2p-kad-dht"))
+ #:import-path "github.com/libp2p/go-libp2p-kad-dht"
+ ;; Error: "[]" should have 3 item(s), but has 0
+ #:test-flags #~(list "-skip" "TestIPDiversityFilter/Different_IPv6_blocks")))
(native-inputs
(list go-github-com-ipfs-go-test
go-github-com-stretchr-testify))
(propagated-inputs
(list go-github-com-google-gopacket
go-github-com-google-uuid
- go-github-com-hashicorp-go-multierror
go-github-com-hashicorp-golang-lru
go-github-com-ipfs-boxo
go-github-com-ipfs-go-cid
go-github-com-ipfs-go-datastore
go-github-com-ipfs-go-detect-race
- go-github-com-ipfs-go-log
go-github-com-ipfs-go-log-v2
go-github-com-libp2p-go-libp2p
go-github-com-libp2p-go-libp2p-kbucket
@@ -1990,7 +2112,7 @@ through @url{https://github.com/libp2p/libp2p, LibP2P} using Go's standard
go-github-com-multiformats-go-multistream
go-github-com-whyrusleeping-go-keyspace
go-go-opentelemetry-io-otel
- ;; go-go-opentelemetry-io-otel-metric
+ go-go-opentelemetry-io-otel-metric
go-go-opentelemetry-io-otel-trace
go-go-uber-org-multierr
go-go-uber-org-zap
@@ -2004,19 +2126,32 @@ routing interface as specified in @url{https://github.com/libp2p/specs,
kab-dht}. This DHT is modeled after Kademlia with S/Kademlia modifications.")
(license license:expat)))
+(define-public go-github-com-libp2p-go-libp2p-kad-dht-bootstrap
+ (hidden-package
+ (package/inherit go-github-com-libp2p-go-libp2p-kad-dht
+ (arguments
+ (list
+ #:skip-build? #t
+ #:tests? #f
+ #:import-path "github.com/libp2p/go-libp2p-kad-dht"))
+ (propagated-inputs
+ (list go-github-com-libp2p-go-libp2p-kbucket
+ go-github-com-whyrusleeping-go-keyspace
+ go-gonum-org-v1-gonum)))))
+
(define-public go-github-com-libp2p-go-libp2p-kbucket
(package
(name "go-github-com-libp2p-go-libp2p-kbucket")
- (version "0.6.5")
+ (version "0.7.0")
(source
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/libp2p/go-libp2p-kbucket")
- (commit (string-append "v" version))))
+ (url "https://github.com/libp2p/go-libp2p-kbucket")
+ (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "03xla0mhb17lh7syv0x4hvg2i0q1r8d6ym6rmjgf1z3z955znx6l"))))
+ (base32 "1p764b38xm0v5w3h8df14480j6y0fxxlsxwqizqchf0ivr3fr634"))))
(build-system go-build-system)
(arguments
(list
@@ -2052,17 +2187,17 @@ kab-dht}. This DHT is modeled after Kademlia with S/Kademlia modifications.")
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/libp2p/go-libp2p-pubsub")
- (commit (string-append "v" version))))
+ (url "https://github.com/libp2p/go-libp2p-pubsub")
+ (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "14afjrgfbmlrnjd5xnl70ff95mbvfxp9n8mx3hrw8069bcpzvm2k"))))
(build-system go-build-system)
(arguments
(list
- #:go go-1.22
;; TODO: Tests may need some adjustments as they take quite a lot of
;; time to finish.
+ #:tests? #f
#:import-path "github.com/libp2p/go-libp2p-pubsub"
;; src/github.com/libp2p/go-libp2p-asn-util/asn.go:12:12: pattern
;; sorted-network-list.bin: cannot embed irregular file
@@ -2097,8 +2232,8 @@ provides topic-based pubsub, with pluggable routing algorithms.")
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/libp2p/go-libp2p-pubsub-router")
- (commit (string-append "v" version))))
+ (url "https://github.com/libp2p/go-libp2p-pubsub-router")
+ (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "01mxb8gi7myidnyfg8yqb445lbwqmgncvh7rcwx6n8av84afplx4"))))
@@ -2133,8 +2268,8 @@ provides topic-based pubsub, with pluggable routing algorithms.")
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/libp2p/go-libp2p-record")
- (commit (string-append "v" version))))
+ (url "https://github.com/libp2p/go-libp2p-record")
+ (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0hl3khlsxagypf18cgx0rd2hnlnpg2vhcrn4g7m1xrkimgj57696"))))
@@ -2163,8 +2298,8 @@ systems.")
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/libp2p/go-libp2p-routing-helpers")
- (commit (string-append "v" version))))
+ (url "https://github.com/libp2p/go-libp2p-routing-helpers")
+ (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0s0gzxfhmvywk4w78j1ga1ha7f948csfyflpxz8la1cp64238f01"))))
@@ -2204,8 +2339,8 @@ different types of routers.")
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/libp2p/go-libp2p-testing")
- (commit (string-append "v" version))))
+ (url "https://github.com/libp2p/go-libp2p-testing")
+ (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "08n17mqskdj5il6lws53wk1zsf9d8c55f58bap1rjngf2d669p39"))))
@@ -2229,8 +2364,8 @@ different types of routers.")
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/libp2p/go-libp2p-xor")
- (commit (string-append "v" version))))
+ (url "https://github.com/libp2p/go-libp2p-xor")
+ (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0p4mwz0q0zbj8p1s04hmpy0w0znfxz3b7x28dv7cz0cg6wqvfqvk"))))
@@ -2251,6 +2386,35 @@ equal-length bit strings. XOR tries support efficient set operations, as well
as distance-based operations with respect to the XOR metric.")
(license license:expat)))
+(define-public go-github-com-libp2p-go-socket-activation
+ (package
+ (name "go-github-com-libp2p-go-socket-activation")
+ (version "0.1.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/libp2p/go-socket-activation")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1cqxzmjfg7838xifs07kigys9icardwlj1wl426mzgzmbwn6pg5s"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/libp2p/go-socket-activation"))
+ (propagated-inputs
+ (list go-github-com-coreos-go-systemd-v22
+ go-github-com-ipfs-go-log
+ go-github-com-multiformats-go-multiaddr))
+ (home-page "https://github.com/libp2p/go-socket-activation")
+ (synopsis "Multiaddr backed systemd socket activation")
+ (description
+ "This package provides access to sockets registered by the system's init
+daemon as described in
+@url{http://0pointer.de/blog/projects/socket-activation}.")
+ (license license:expat)))
+
(define-public go-github-com-whyrusleeping-cbor-gen
(package
(name "go-github-com-whyrusleeping-cbor-gen")
@@ -2259,8 +2423,8 @@ as distance-based operations with respect to the XOR metric.")
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/whyrusleeping/cbor-gen")
- (commit (go-version->git-ref version))))
+ (url "https://github.com/whyrusleeping/cbor-gen")
+ (commit (go-version->git-ref version))))
(file-name (git-file-name name version))
(sha256
(base32 "08by7pqh4fcwf2va01iif75yqkfssi6d48334404mmv9jmhzim60"))))
@@ -2282,162 +2446,21 @@ types.")
(define-public kubo
(package
(name "kubo")
- (version "0.32.1")
+ (version "0.35.0")
(source
(origin
- (method url-fetch/tarbomb)
- (uri (string-append
- ;; Permament redirection from <https://ipfs.io>.
- "https://dist.ipfs.tech/kubo//v" version
- "/kubo-source.tar.gz"))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/ipfs/kubo")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
- (base32 "1v8bnrfir7322qklc2ri4xd32arifza5w6br7kpfknyrq2daiggz"))
- (file-name (string-append name "-" version "-source"))
- (modules '((guix build utils)))
- (snippet '(for-each delete-file-recursively
- ;; TODO: unbundle the rest as well
- '("vendor/bazil.org"
- "vendor/contrib.go.opencensus.io"
- "vendor/github.com/AndreasBriese"
- "vendor/github.com/DataDog"
- "vendor/github.com/Jorropo"
- "vendor/github.com/alecthomas"
- "vendor/github.com/benbjohnson"
- "vendor/github.com/beorn7"
- "vendor/github.com/blang"
- "vendor/github.com/caddyserver/certmagic"
- "vendor/github.com/cenkalti"
- "vendor/github.com/ceramicnetwork"
- "vendor/github.com/cespare"
- "vendor/github.com/cheggaaa"
- "vendor/github.com/containerd"
- "vendor/github.com/coreos"
- "vendor/github.com/crackcomm"
- "vendor/github.com/cskr"
- "vendor/github.com/davecgh"
- "vendor/github.com/davidlazar"
- "vendor/github.com/decred"
- "vendor/github.com/dgraph-io"
- "vendor/github.com/docker"
- "vendor/github.com/dustin"
- "vendor/github.com/elastic"
- "vendor/github.com/elgris"
- "vendor/github.com/facebookgo"
- "vendor/github.com/felixge"
- "vendor/github.com/flynn"
- "vendor/github.com/francoispqt"
- "vendor/github.com/fsnotify"
- "vendor/github.com/gabriel-vasile"
- "vendor/github.com/go-kit"
- "vendor/github.com/go-logfmt"
- "vendor/github.com/go-logr"
- "vendor/github.com/go-task"
- "vendor/github.com/godbus"
- "vendor/github.com/gogo"
- "vendor/github.com/golang"
- "vendor/github.com/google"
- "vendor/github.com/gorilla"
- "vendor/github.com/hashicorp"
- "vendor/github.com/huin"
- "vendor/github.com/ipfs/bbloom"
- "vendor/github.com/ipfs/go-bitfield"
- "vendor/github.com/ipfs/go-block-format"
- "vendor/github.com/ipfs/go-cid"
- "vendor/github.com/ipfs/go-cidutil"
- "vendor/github.com/ipfs/go-datastore"
- "vendor/github.com/ipfs/go-detect-race"
- "vendor/github.com/ipfs/go-ds-badger"
- "vendor/github.com/ipfs/go-ds-flatfs"
- "vendor/github.com/ipfs/go-ds-leveldb"
- "vendor/github.com/ipfs/go-ds-measure"
- "vendor/github.com/ipfs/go-fs-lock"
- "vendor/github.com/ipfs/go-ipfs-delay"
- "vendor/github.com/ipfs/go-ipfs-ds-help"
- "vendor/github.com/ipfs/go-ipfs-redirects-file"
- "vendor/github.com/ipfs/go-ipfs-util"
- "vendor/github.com/ipfs/go-ipld-cbor"
- "vendor/github.com/ipfs/go-ipld-format"
- "vendor/github.com/ipfs/go-ipld-git"
- "vendor/github.com/ipfs/go-ipld-legacy"
- "vendor/github.com/ipfs/go-log"
- "vendor/github.com/ipfs/go-metrics-interface"
- "vendor/github.com/ipfs/go-metrics-prometheus"
- "vendor/github.com/ipfs/go-peertaskqueue"
- "vendor/github.com/ipfs/go-test"
- "vendor/github.com/ipfs/go-unixfsnode"
- "vendor/github.com/ipfs/go-verifcid"
- "vendor/github.com/ipld"
- "vendor/github.com/jackpal"
- "vendor/github.com/jbenet"
- "vendor/github.com/julienschmidt"
- "vendor/github.com/klauspost"
- "vendor/github.com/koron"
- "vendor/github.com/kr"
- "vendor/github.com/libp2p/go-buffer-pool"
- "vendor/github.com/libp2p/go-cidranger"
- "vendor/github.com/libp2p/go-doh-resolver"
- "vendor/github.com/libp2p/go-flow-metrics"
- "vendor/github.com/libp2p/go-libp2p"
- "vendor/github.com/libp2p/go-libp2p-asn-util"
- "vendor/github.com/libp2p/go-libp2p-http"
- "vendor/github.com/libp2p/go-libp2p-pubsub"
- "vendor/github.com/libp2p/go-libp2p-pubsub-router"
- "vendor/github.com/libp2p/go-libp2p-routing-helpers"
- "vendor/github.com/libp2p/go-libp2p-testing"
- "vendor/github.com/libp2p/go-msgio"
- "vendor/github.com/libp2p/go-nat"
- "vendor/github.com/libp2p/go-netroute"
- "vendor/github.com/libp2p/go-reuseport"
- "vendor/github.com/libp2p/go-socket-activation"
- "vendor/github.com/libp2p/go-yamux"
- "vendor/github.com/libp2p/zeroconf"
- "vendor/github.com/marten-seemann"
- "vendor/github.com/mattn"
- "vendor/github.com/mgutz"
- "vendor/github.com/mholt"
- "vendor/github.com/miekg"
- "vendor/github.com/mikioh"
- "vendor/github.com/minio"
- "vendor/github.com/mr-tron"
- "vendor/github.com/multiformats"
- "vendor/github.com/munnerz"
- "vendor/github.com/onsi"
- "vendor/github.com/opencontainers"
- "vendor/github.com/opentracing"
- "vendor/github.com/pbnjay"
- "vendor/github.com/petar"
- "vendor/github.com/pion"
- "vendor/github.com/pkg"
- "vendor/github.com/pmezard"
- "vendor/github.com/polydawn"
- "vendor/github.com/prometheus"
- "vendor/github.com/quic-go"
- "vendor/github.com/raulk"
- "vendor/github.com/rogpeppe"
- "vendor/github.com/rs"
- "vendor/github.com/samber"
- "vendor/github.com/spaolacci"
- "vendor/github.com/stretchr"
- "vendor/github.com/syndtr"
- "vendor/github.com/texttheater"
- "vendor/github.com/tidwall"
- "vendor/github.com/ucarion"
- "vendor/github.com/whyrusleeping"
- "vendor/github.com/wlynxg"
- "vendor/go.opencensus.io"
- "vendor/go.uber.org"
- "vendor/go4.org"
- "vendor/golang.org"
- "vendor/gonum.org"
- "vendor/google.golang.org/genproto/googleapis/rpc"
- "vendor/google.golang.org/protobuf"
- "vendor/gopkg.in"
- "vendor/lukechampine.com")))))
+ (base32 "18xkgxy07dz3zxvvrpaiv5m46slcl6hh07qbmmnfihcnx34431qa"))))
(build-system go-build-system)
(arguments
(list
- #:go go-1.22
- #:embed-files #~(list "sorted-network-list.bin")
+ #:install-source? #f
+ #:embed-files #~(list "sorted-network-list.bin" ".*\\.css" ".*\\.html")
#:unpack-path "github.com/ipfs/kubo"
#:import-path "github.com/ipfs/kubo/cmd/ipfs"
#:phases
@@ -2454,20 +2477,14 @@ types.")
"ipfs"
#~(string-append #$output "/bin/ipfs"))
"commands" "completion" "bash")))))))))
- (inputs (list ;; Direct requirements as seen in kubo's go.mod file.
- ;;
- ;; XXX: Uncomment out when package is available in Guix,
- ;; otherwise it will be sourced from provided vendor
- ;; directory.
- ;;
- go-bazil-org-fuse
+ (inputs (list go-bazil-org-fuse
go-contrib-go-opencensus-io-exporter-prometheus
go-github-com-blang-semver-v4
go-github-com-caddyserver-certmagic
go-github-com-cenkalti-backoff-v4
go-github-com-ceramicnetwork-go-dag-jose
go-github-com-cheggaaa-pb
- ;;go-github-com-cockroachdb-pebble
+ go-github-com-cockroachdb-pebble-v2
go-github-com-coreos-go-systemd-v22
go-github-com-dustin-go-humanize
go-github-com-elgris-jsondiff
@@ -2475,9 +2492,8 @@ types.")
go-github-com-filecoin-project-go-clock
go-github-com-fsnotify-fsnotify
go-github-com-google-uuid
- go-github-com-hashicorp-go-multierror
go-github-com-hashicorp-go-version
- ;;go-github-com-ipfs-boxo
+ go-github-com-ipfs-boxo
go-github-com-ipfs-go-block-format
go-github-com-ipfs-go-cid
go-github-com-ipfs-go-cidutil
@@ -2487,9 +2503,9 @@ types.")
go-github-com-ipfs-go-ds-flatfs
go-github-com-ipfs-go-ds-leveldb
go-github-com-ipfs-go-ds-measure
- ;;go-github-com-ipfs-go-ds-pebble
+ go-github-com-ipfs-go-ds-pebble
go-github-com-ipfs-go-fs-lock
- ;;go-github-com-ipfs-go-ipfs-cmds
+ go-github-com-ipfs-go-ipfs-cmds
go-github-com-ipfs-go-ipld-cbor
go-github-com-ipfs-go-ipld-format
go-github-com-ipfs-go-ipld-git
@@ -2500,24 +2516,24 @@ types.")
go-github-com-ipfs-go-metrics-prometheus
go-github-com-ipfs-go-test
go-github-com-ipfs-go-unixfsnode
- ;;go-github-com-ipfs-shipyard-nopfs
- ;;go-github-com-ipfs-shipyard-nopfs-ipfs
+ go-github-com-ipfs-shipyard-nopfs
+ go-github-com-ipfs-shipyard-nopfs-ipfs
go-github-com-ipld-go-car
go-github-com-ipld-go-car-v2
go-github-com-ipld-go-codec-dagpb
go-github-com-ipld-go-ipld-prime
- ;;go-github-com-ipshipyard-p2p-forge
+ go-github-com-ipshipyard-p2p-forge
go-github-com-jbenet-go-temp-err-catcher
go-github-com-jbenet-goprocess
go-github-com-julienschmidt-httprouter
go-github-com-libp2p-go-doh-resolver
- go-github-com-libp2p-go-libp2p-0.38
+ go-github-com-libp2p-go-libp2p
go-github-com-libp2p-go-libp2p-http
- ;;go-github-com-libp2p-go-libp2p-kad-dht
- ;;go-github-com-libp2p-go-libp2p-kbucket
+ go-github-com-libp2p-go-libp2p-kad-dht
+ go-github-com-libp2p-go-libp2p-kbucket
go-github-com-libp2p-go-libp2p-pubsub
go-github-com-libp2p-go-libp2p-pubsub-router
- ;;go-github-com-libp2p-go-libp2p-record
+ go-github-com-libp2p-go-libp2p-record
go-github-com-libp2p-go-libp2p-routing-helpers
go-github-com-libp2p-go-libp2p-testing
go-github-com-libp2p-go-socket-activation
@@ -2536,11 +2552,11 @@ types.")
go-github-com-whyrusleeping-go-sysinfo
go-github-com-whyrusleeping-multiaddr-filter
go-go-opencensus-io
- ;;go-go-opentelemetry-io-contrib-instrumentation-net-http-otelhttp
- ;;go-go-opentelemetry-io-contrib-propagators-autoprop
- ;;go-go-opentelemetry-io-otel
- ;;go-go-opentelemetry-io-otel-sdk
- ;;go-go-opentelemetry-io-otel-trace
+ go-go-opentelemetry-io-contrib-instrumentation-net-http-otelhttp
+ go-go-opentelemetry-io-contrib-propagators-autoprop
+ go-go-opentelemetry-io-otel
+ go-go-opentelemetry-io-otel-sdk
+ go-go-opentelemetry-io-otel-trace
go-go-uber-org-dig
go-go-uber-org-fx
go-go-uber-org-multierr
@@ -2550,40 +2566,7 @@ types.")
go-golang-org-x-mod
go-golang-org-x-sync
go-golang-org-x-sys
- go-google-golang-org-protobuf
-
- ;;
- ;; A list of indirect dependencies required for the vendored
- ;; models.
- ;; XXX: Remove them when all of the vendored packages are
- ;; available.
- ;;
-
- go-github-com-texttheater-golang-levenshtein ; github.com/ipfs/go-ipfs-cmds
-
- go-github-com-crackcomm-go-gitignore ; github.com/ipfs/boxo
- go-github-com-cskr-pubsub ; github.com/ipfs/boxo
- go-github-com-datadog-zstd ; github.com/cockroachdb/pebble
- go-github-com-felixge-httpsnoop ; go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
- go-github-com-gabriel-vasile-mimetype ; github.com/ipfs/boxo
- go-github-com-go-logr-stdr ; go.opentelemetry.io/otel
- go-github-com-google-gopacket ; github.com/libp2p/go-libp2p-kad-dht
- go-github-com-gorilla-mux ; github.com/ipfs/boxo
- go-github-com-hashicorp-golang-lru ; github.com/libp2p/go-libp2p-kad-dht
- go-github-com-hashicorp-golang-lru-v2 ; github.com/ipfs/boxo
- go-github-com-ipfs-go-bitfield ; github.com/ipfs/boxo
- go-github-com-ipfs-go-ipfs-redirects-file ; github.com/ipfs/boxo
- go-github-com-ipfs-go-peertaskqueue ; github.com/ipfs/boxo
- go-github-com-libp2p-go-cidranger ; github.com/libp2p/go-libp2p-kbucket
- go-github-com-libp2p-go-libp2p-asn-util ; github.com/libp2p/go-libp2p-kbucket
- go-github-com-libp2p-go-msgio ; github.com/libp2p/go-libp2p-kad-dht
- go-github-com-rs-cors ; github.com/ipfs/go-ipfs-cmds
- go-github-com-samber-lo ; github.com/ipfs/boxo
- go-github-com-whyrusleeping-base32 ; github.com/ipfs/boxo
- go-github-com-whyrusleeping-chunker ; github.com/ipfs/boxo
- go-github-com-whyrusleeping-go-keyspace ; github.com/libp2p/go-libp2p-kad-dht
- go-gonum-org-v1-gonum ; github.com/libp2p/go-libp2p-kad-dht
- ))
+ go-google-golang-org-protobuf))
(native-inputs
(append (if (%current-target-system)
(list this-package)
@@ -2612,15 +2595,14 @@ also mount the world at @code{/ipfs}.")
(origin
(method git-fetch)
(uri (git-reference
- (url "https://gitlab.com/spritely/go-libp2p-daemon.git")
- (commit commit)))
+ (url "https://gitlab.com/spritely/go-libp2p-daemon.git")
+ (commit commit)))
(file-name (git-file-name name version))
(sha256
(base32 "0bk2610rlg8d4lla7h7sic9drv1syabfbr7kbg2yqqbhiwg0v2br"))))
(build-system go-build-system)
(arguments
(list
- #:go go-1.22
#:embed-files #~(list "sorted-network-list.bin")
#:install-source? #f
#:import-path "gitlab.com/spritely/spritely-libp2p-daemon"))