gnu: Remove go-golang-org-x-net-html.

golang.org/x/net is distributed as a single module according to provided
go.mod file. This changes remove the last reference to
golang.org/x/net/html.

* gnu/packages/golang-build.scm (go-golang-org-x-net) [propagated-inputs]: Add
go-golang-org-x-sys, go-golang-org-x-term and go-golang-org-x-text.
(go-golang-org-x-net-html): Remove variable.

* gnu/packages/version-control.scm (ghq) [inputs]: Remove
go-golang-org-x-net-html. Add go-golang-org-x-net.

* gnu/packages/textutils.scm (vale) [inputs]: Remove
go-golang-org-x-net-html. Add go-golang-org-x-net.

Change-Id: Ic275f2f7ccd145edfd376d65bd24599a550e849a
This commit is contained in:
Sharlatan Hellseher 2024-02-22 18:31:07 +00:00
parent 11313556c5
commit dbf3b5daf5
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5
3 changed files with 4 additions and 15 deletions

View file

@ -238,6 +238,8 @@ (define-public go-golang-org-x-net
#~(modify-phases %standard-phases
;; Source-only package
(delete 'build))))
(propagated-inputs
(list go-golang-org-x-sys go-golang-org-x-term go-golang-org-x-text))
(home-page "https://go.googlesource.com/net")
(synopsis "Go supplemental networking libraries")
(description "This package provides supplemental Go networking libraries.")
@ -262,19 +264,6 @@ (define-public go-golang-org-x-net-0.17
(sha256
(base32 "17zhim2m0r8nyy18g2lsawxm4rawix2qbjyn80x9vc6jc8fv05m9")))))))
(define-public go-golang-org-x-net-html
(package
(inherit go-golang-org-x-net)
(name "go-golang-org-x-net-html")
(arguments
'(#:import-path "golang.org/x/net/html"
#:unpack-path "golang.org/x/net"))
(propagated-inputs (list go-golang-org-x-text))
(home-page "https://godoc.org/golang.org/x/net/html")
(synopsis "HTML5-compliant tokenizer and parser")
(description
"This package provides an HTML5-compliant tokenizer and parser.")))
(define-public go-golang-org-x-sync
(let ((commit "8fcdb60fdcc0539c5e357b2308249e4e752147f1")
(revision "1"))

View file

@ -1471,7 +1471,7 @@ (define-public vale
go-github-com-spf13-afero
go-github-com-urfave-cli
go-github-com-yuin-goldmark
go-golang-org-x-net-html
go-golang-org-x-net
go-gopkg-in-ini-v1
go-gopkg-in-yaml-v2))
(home-page "https://github.com/errata-ai/vale")

View file

@ -3849,7 +3849,7 @@ (define-public ghq
go-github-com-motemen-go-colorine
go-github-com-saracen-walker
go-github-com-urfave-cli-v2
go-golang-org-x-net-html
go-golang-org-x-net
go-golang.org-x-sync-errgroup))
(synopsis "Manage remote repository clones")
(description