gnu: go-github-com-jbenet-go-context: Apply patch to fix crash.

* gnu/packages/patches/go-github-com-jbenet-go-context-fix-import-error.patch:
New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/golang-xyz.scm (go-github-com-jbenet-go-context)
[source]: Apply it.
[propagated-inputs]: Delete field.

Change-Id: Id63ff5a78788eb85055e89f352f6b68ada4c0c0a
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Maxim Cournoyer 2025-06-02 08:28:01 +09:00 committed by Sharlatan Hellseher
parent 274b71bdce
commit f27cc17451
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5
3 changed files with 142 additions and 5 deletions

View file

@ -10402,13 +10402,12 @@ that might only rarely be reached.")
(commit (go-version->git-ref version))))
(file-name (git-file-name name version))
(sha256
(base32 "0q91f5549n81w3z5927n4a1mdh220bdmgl42zi3h992dcc4ls0sl"))))
(base32 "0q91f5549n81w3z5927n4a1mdh220bdmgl42zi3h992dcc4ls0sl"))
(patches (search-patches
"go-github-com-jbenet-go-context-fix-import-error.patch"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/jbenet/go-context"))
(propagated-inputs
(list go-golang-org-x-net))
(list #:import-path "github.com/jbenet/go-context"))
(home-page "https://github.com/jbenet/go-context/")
(synopsis "@code{jbenet's} context extensions")
(description