~ruther/guix-local

768d05fd3574038fcea985a5f5740a360430fac7 — Sharlatan Hellseher 10 months ago a67432a
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
1 files changed, 7 insertions(+), 10 deletions(-)

M gnu/packages/ipfs.scm
M gnu/packages/ipfs.scm => gnu/packages/ipfs.scm +7 -10
@@ 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