diff options
author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-07-15 15:53:27 +0100 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-07-25 21:00:58 +0100 |
commit | 123dcb2f319126dc5314a440e07226bf9feb54c3 (patch) | |
tree | 081b84671ee818b452cc2902f6c3af320901fa9f /gnu/packages | |
parent | 04af4f6646ec4949b716240e3a8b8153b2e1cb42 (diff) | |
download | guix-123dcb2f319126dc5314a440e07226bf9feb54c3.tar.gz guix-123dcb2f319126dc5314a440e07226bf9feb54c3.zip |
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
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/golang-web.scm | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm index a9213f1be8..a21339adb2 100644 --- a/gnu/packages/golang-web.scm +++ b/gnu/packages/golang-web.scm @@ -633,7 +633,7 @@ and stop increasing when a certain threshold is met.") (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 @@ and stop increasing when a certain threshold is met.") (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 |