gnu: go-golang-org-x-oauth2: Improve package style.

* gnu/packages/golang.scm (go-golang-org-x-oauth2): Fix indentation,
apply new package style.

Change-Id: I36e7a9d159928b5ef5d83fec9d57b005cc2c5ad4
This commit is contained in:
Sharlatan Hellseher 2024-07-15 15:51:08 +01:00
parent 96d3f5240b
commit 162f716d74
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -3263,29 +3263,31 @@ (define-public gopls
(license license:bsd-3)))
(define-public go-golang-org-x-oauth2
(package
(name "go-golang-org-x-oauth2")
(version "0.21.0")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://go.googlesource.com/oauth2")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"0pzpa9jqrfxxhxi1w7n5ljnvr9qfw42hzavz62fc9i6z9vk2466k"))))
(build-system go-build-system)
(arguments
`(#:import-path "golang.org/x/oauth2"))
(propagated-inputs
(list go-cloud-google-com-go-compute-metadata
go-github-com-google-go-cmp-cmp))
(home-page "https://go.googlesource.com/oauth2")
(synopsis "Client implementation of the OAuth 2.0 spec")
(description "This package contains a client implementation for OAuth 2.0
(package
(name "go-golang-org-x-oauth2")
(version "0.21.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://go.googlesource.com/oauth2")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0pzpa9jqrfxxhxi1w7n5ljnvr9qfw42hzavz62fc9i6z9vk2466k"))))
(build-system go-build-system)
(arguments
(list
#:import-path "golang.org/x/oauth2"))
(propagated-inputs
(list go-cloud-google-com-go-compute-metadata
go-github-com-google-go-cmp-cmp))
(home-page "https://go.googlesource.com/oauth2")
(synopsis "Client implementation of the OAuth 2.0 spec")
(description
"This package contains a client implementation for OAuth 2.0
spec in Go.")
(license license:bsd-3)))
(license license:bsd-3)))
(define-public go-github-com-jpillora-backoff
(let ((commit