diff options
author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-07-14 14:24:06 +0100 |
---|---|---|
committer | Andreas Enge <andreas@enge.fr> | 2025-07-26 19:55:48 +0200 |
commit | 1aa5393afb9ced5dfe4f4641e6da594ad053b5ab (patch) | |
tree | 785620675639b0194d94a0142b5caf1d77866a4f | |
parent | 00eee4c9e243a5e37386e3d07769f4b68f51b9a2 (diff) |
gnu: kubo: Build from source.
* gnu/packages/ipfs.scm (kubo):
[source]: Switch to git-fetch and completely build from Git.
[arguments] <install-source?>: As it's a final command, skip it.
[inputs]: Remove go-go-opentelemetry-io-otel-exporters-otlp-otlptrace.
Change-Id: I292b118300786ff88c914850b22899b9ef02b2a5
-rw-r--r-- | gnu/packages/ipfs.scm | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/gnu/packages/ipfs.scm b/gnu/packages/ipfs.scm index 6674801ca2..f0ee0fd807 100644 --- a/gnu/packages/ipfs.scm +++ b/gnu/packages/ipfs.scm @@ -2386,19 +2386,17 @@ types.") (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 "056kkc2jpf743dpdygapks4y94wv668ymma0d8db2nc9mmlxgris")) - (file-name (string-append name "-" version "-source")) - (modules '((guix build utils))) - (snippet '(delete-file-recursively "vendor")))) + (base32 "18xkgxy07dz3zxvvrpaiv5m46slcl6hh07qbmmnfihcnx34431qa")))) (build-system go-build-system) (arguments (list + #: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" @@ -2494,7 +2492,6 @@ types.") 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-exporters-otlp-otlptrace ; check which module uses it go-go-opentelemetry-io-otel-sdk go-go-opentelemetry-io-otel-trace go-go-uber-org-dig |