mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-14 15:10:16 -05:00
gnu: go-github-com-coreos-go-oidc-v3: Update to 3.11.0.
* gnu/packages/golang-web.scm (go-github-com-coreos-go-oidc-v3): Update to 3.11.0. [arguments]: <#:unpack-path>: Remove it. <#:import-path>: Adjust to reflect go.mod module path. <#:phases>: Remove 'build phase. Use custom 'check. [propagated-inputs]: Remove go-github-com-go-jose-go-jose-v3; add go-github-com-go-jose-go-jose-v4 and go-golang-org-x-net. Change-Id: Ibda17bed6eff43b1006199f4f5b3433ee922184f
This commit is contained in:
parent
04af4f6646
commit
123dcb2f31
1 changed files with 16 additions and 6 deletions
|
@ -633,7 +633,7 @@ (define-public go-github-com-coreos-go-oidc-v3
|
|||
(package
|
||||
(inherit go-github-com-coreos-go-oidc)
|
||||
(name "go-github-com-coreos-go-oidc-v3")
|
||||
(version "3.6.0")
|
||||
(version "3.11.0")
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
|
@ -642,13 +642,23 @@ (define-public go-github-com-coreos-go-oidc-v3
|
|||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "1sbm6n3lp48lymn0g921afhq2j6inb38w3wy5rhyx9h8gpzhnxx9"))))
|
||||
(base32 "00nbv15pjfcfxdy0i4k366ricdm2cylhpwak3hmjlgh6lrzxypl9"))))
|
||||
(arguments
|
||||
(list ;; no Go files in [...]/src/github.com/coreos/go-oidc/v3.
|
||||
#:import-path "github.com/coreos/go-oidc/v3/oidc"
|
||||
#:unpack-path "github.com/coreos/go-oidc/v3"))
|
||||
(list
|
||||
#:import-path "github.com/coreos/go-oidc/v3"
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
;; XXX: Workaround for go-build-system's lack of Go modules
|
||||
;; 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
|
||||
(list go-github-com-go-jose-go-jose-v3
|
||||
(list go-github-com-go-jose-go-jose-v4
|
||||
go-golang-org-x-net
|
||||
go-golang-org-x-oauth2))))
|
||||
|
||||
(define-public go-github-com-emicklei-go-restful
|
||||
|
|
Loading…
Reference in a new issue