gnu: go-github-com-aws-aws-sdk-go-v2-credentials: Update to 1.17.48.

* gnu/packages/golang-web.scm
(go-github-com-aws-aws-sdk-go-v2-credentials): Update to 1.17.48.
[arguments] <phases>: Ass 'fix-tests.

Change-Id: I267ef898ad79512eddbcac0cd66419c693a1094a
This commit is contained in:
Sharlatan Hellseher 2024-12-30 13:38:34 +00:00
parent 2a8f981c85
commit 5c38a27116
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -527,21 +527,29 @@ (define-public go-github-com-aws-aws-sdk-go-v2-config
(define-public go-github-com-aws-aws-sdk-go-v2-credentials
(package
(name "go-github-com-aws-aws-sdk-go-v2-credentials")
(version "1.17.27")
(version "1.17.48")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/aws/aws-sdk-go-v2")
(commit (string-append "credentials/v" version))))
(commit (go-version->git-ref version
#:subdir "credentials"))))
(file-name (git-file-name name version))
(sha256
(base32 "0jdj7wim98g80hjbw3av7ffrr3dqxzbygprmhjs0cxc16cw62wj7"))))
(base32 "1n3spqncpw6w11pwkqaiq7jyv6dv0229jsbshibg24l2g3accdqi"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/aws/aws-sdk-go-v2/credentials"
#:unpack-path "github.com/aws/aws-sdk-go-v2"))
#:unpack-path "github.com/aws/aws-sdk-go-v2"
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'fix-tests
(lambda* (#:key import-path #:allow-other-keys)
(with-directory-excursion (string-append "src/" import-path)
(substitute* (find-files "." "test\\.go")
(("/bin/sleep") (which "sleep")))))))))
(propagated-inputs
(list go-github-com-google-go-cmp
go-github-com-aws-smithy-go))