gnu: go-github-com-masterminds-sprig-v3: Update to 3.3.0.

* gnu/packages/golang-xyz.scm (go-github-com-masterminds-sprig-v3): Update to 3.3.0.
[arguments] <test-flags>: Move skip test logic here.
<phases>: Remove 'remove-network-tests.
[propagated-inputs]: Remove go-github-com-imdario-mergo and
go-github-com-mitchellh-reflectwalk; add go-dario-cat-mergo.

Change-Id: Ia03b8795cb25d5108584aca2bbebc283df44bdf9
This commit is contained in:
Sharlatan Hellseher 2024-12-28 15:51:23 +00:00
parent ef44b838fb
commit 29b7872d56
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -7782,7 +7782,7 @@ semantic versions. Specifically it provides the ability to:
(define-public go-github-com-masterminds-sprig-v3 (define-public go-github-com-masterminds-sprig-v3
(package (package
(name "go-github-com-masterminds-sprig-v3") (name "go-github-com-masterminds-sprig-v3")
(version "3.2.3") (version "3.3.0")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
@ -7791,29 +7791,21 @@ semantic versions. Specifically it provides the ability to:
(commit (string-append "v" version)))) (commit (string-append "v" version))))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 "1gkwalx8j8h1jdhk6dz8bq8zp7vivxvcivr83dcq0h6nrn4xjqnl")))) (base32 "1ljpizbfjh29xb4f40ipkrqriyixhdsfnd72y3pdzrjf2kbmgw9n"))))
(build-system go-build-system) (build-system go-build-system)
(arguments (arguments
(list (list
#:import-path "github.com/Masterminds/sprig/v3" #:import-path "github.com/Masterminds/sprig/v3"
#:phases #:test-flags #~(list "-skip" "TestGetHostByName")))
#~(modify-phases %standard-phases
;; Tests tries to reach Google:
;; tpl := `{{"www.google.com" | getHostByName}}`
(add-after 'unpack 'remove-network-tests
(lambda* (#:key import-path #:allow-other-keys)
(delete-file
(string-append "src/" import-path "/network_test.go")))))))
(native-inputs (native-inputs
(list go-github-com-stretchr-testify)) (list go-github-com-stretchr-testify))
(propagated-inputs (propagated-inputs
(list go-github-com-google-uuid (list go-dario-cat-mergo
go-github-com-google-uuid
go-github-com-huandu-xstrings go-github-com-huandu-xstrings
go-github-com-imdario-mergo
go-github-com-masterminds-goutils go-github-com-masterminds-goutils
go-github-com-masterminds-semver-v3 go-github-com-masterminds-semver-v3
go-github-com-mitchellh-copystructure go-github-com-mitchellh-copystructure
go-github-com-mitchellh-reflectwalk
go-github-com-shopspring-decimal go-github-com-shopspring-decimal
go-github-com-spf13-cast go-github-com-spf13-cast
go-golang-org-x-crypto)) go-golang-org-x-crypto))