mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: go-golang-org-x-net: Update to 0.33.0.
* gnu/packages/golang-build.scm (go-golang-org-x-net): Update to 0.33.0. Simplify package. Change-Id: I9e42a0f8a18aca533386aa5aace2baed103568bd
This commit is contained in:
parent
05a4dcb208
commit
6cad6aec08
1 changed files with 3 additions and 10 deletions
|
@ -691,7 +691,7 @@ loading algorithms.")
|
||||||
(define-public go-golang-org-x-net
|
(define-public go-golang-org-x-net
|
||||||
(package
|
(package
|
||||||
(name "go-golang-org-x-net")
|
(name "go-golang-org-x-net")
|
||||||
(version "0.29.0")
|
(version "0.33.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
|
@ -700,21 +700,14 @@ loading algorithms.")
|
||||||
(commit (string-append "v" version))))
|
(commit (string-append "v" version))))
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "0scksgrrxyyy4ah2anh3n0qj0snpc63bqmhyw24q5lskzrsm2zvl"))))
|
(base32 "0k3vbxj4dxyki7rflbnad95avz7hnapwr02aa7jqgs79vd9j9k7n"))))
|
||||||
(build-system go-build-system)
|
(build-system go-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
#:import-path "golang.org/x/net"
|
#:import-path "golang.org/x/net"
|
||||||
#:phases
|
#:phases
|
||||||
#~(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
;; XXX: Workaround for go-build-system's lack of Go modules
|
(delete 'build)))) ; no go files in project's root
|
||||||
;; support.
|
|
||||||
(delete 'build)
|
|
||||||
(replace 'check
|
|
||||||
(lambda* (#:key tests? import-path #:allow-other-keys)
|
|
||||||
(when tests?
|
|
||||||
(with-directory-excursion (string-append "src/" import-path)
|
|
||||||
(invoke "go" "test" "-v" "./..."))))))))
|
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list go-golang-org-x-crypto
|
(list go-golang-org-x-crypto
|
||||||
go-golang-org-x-sys
|
go-golang-org-x-sys
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue