1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-16 12:00:35 +02:00

gnu: go-github-com-aws-smithy-go: Update to 1.22.1.

* gnu/packages/golang-web.scm (go-github-com-aws-smithy-go): Update to 1.22.1.
[sources] <snippet>: Delete submodules with their own go.mod files which
need to be packaged separately.
[arguments] <test-subdirs>: Run all available tests.
[propagated-inputs]: Remove go-github-com-jmespath-go-jmespath and
go-github-com-google-go-cmp.

Change-Id: I34e1cec67d7b4a9b133a09d0dba92244ffc2db50
This commit is contained in:
Sharlatan Hellseher 2024-12-30 12:27:33 +00:00
parent 35a0b4cdae
commit 85892f5a89
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -620,25 +620,34 @@ credentials sources.")
(define-public go-github-com-aws-smithy-go
(package
(name "go-github-com-aws-smithy-go")
(version "1.21.0")
(version "1.22.1")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/aws/smithy-go")
(commit "v1.21.0")))
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1pcq9d154l41c4k23q6ri51ba5i2kc8ihrv4sgkv4q59cw70rspi"))))
(base32 "16jbv7cyj85048f4kcrib8k2yif165sc099h0aklal5dwlf85xcg"))
(modules '((guix build utils)))
(snippet
#~(begin
;; Submodules with their own go.mod files and packaged separately:
;;
;; - github.com/aws/smithy-go/aws-http-auth
;; - github.com/aws/smithy-go/codegen
;; - github.com/aws/smithy-go/metrics/smithyotelmetrics
;; - github.com/aws/smithy-go/tracing/smithyoteltracing
(for-each delete-file-recursively
(list "aws-http-auth"
"codegen"
"metrics/smithyotelmetrics"
"tracing/smithyoteltracing"))))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/aws/smithy-go"
;; XXX: It contains a lot of sub packages defined with go.mod, consider
;; to pack them separately.
#:test-subdirs #~(list ".")))
(propagated-inputs
(list go-github-com-jmespath-go-jmespath go-github-com-google-go-cmp))
#:import-path "github.com/aws/smithy-go"))
(home-page "https://github.com/aws/smithy-go")
(synopsis "Smithy code generators for Go")
(description