summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2024-12-28 15:51:23 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-01-21 23:42:33 +0000
commit29b7872d56da541febca942ddd2884ac84009ce5 (patch)
treeea94dc85d72cc682dc6786e043c87d23a4920a97
parentef44b838fb46af208b2904171b8ece57a45a8745 (diff)
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
-rw-r--r--gnu/packages/golang-xyz.scm18
1 files changed, 5 insertions, 13 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 60759a71a9..4aa0de737e 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -7782,7 +7782,7 @@ semantic versions. Specifically it provides the ability to:
(define-public go-github-com-masterminds-sprig-v3
(package
(name "go-github-com-masterminds-sprig-v3")
- (version "3.2.3")
+ (version "3.3.0")
(source
(origin
(method git-fetch)
@@ -7791,29 +7791,21 @@ semantic versions. Specifically it provides the ability to:
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "1gkwalx8j8h1jdhk6dz8bq8zp7vivxvcivr83dcq0h6nrn4xjqnl"))))
+ (base32 "1ljpizbfjh29xb4f40ipkrqriyixhdsfnd72y3pdzrjf2kbmgw9n"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/Masterminds/sprig/v3"
- #:phases
- #~(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")))))))
+ #:test-flags #~(list "-skip" "TestGetHostByName")))
(native-inputs
(list go-github-com-stretchr-testify))
(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-imdario-mergo
go-github-com-masterminds-goutils
go-github-com-masterminds-semver-v3
go-github-com-mitchellh-copystructure
- go-github-com-mitchellh-reflectwalk
go-github-com-shopspring-decimal
go-github-com-spf13-cast
go-golang-org-x-crypto))