sharlatan pushed a commit to branch go-team
in repository guix.
commit ea76c342a164ee805c4c9851293b3f69ccf5a8b9
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sun Nov 24 12:11:54 2024 +0000
gnu: go-github-com-bmatcuk-doublestar: Simplify package.
* gnu/packages/golang.scm (go-github-com-bmatcuk-doublestar)
[arguments]<test-flags>: Move test skip logic here.
Change-Id: I8e6929b519585e5150fcc7d12e9c5cda4fb2e3c5
---
gnu/packages/golang.scm | 13 ++++---------
1 file changed, 4 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 90cb412308..a431f2db7e 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -5428,15 +5428,10 @@ maps (because they are not addressable using Go
reflection).")
"0bk5bixl6rqa8znxghyp6zndbccx9kdyrymjahgyp6qsrp7rk144"))))
(build-system go-build-system)
(arguments
- `(#:import-path "github.com/bmatcuk/doublestar"
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'remove-incompatible-test
- ;; This test fails with Go 1.16.
- (lambda _
- (substitute*
"src/github.com/bmatcuk/doublestar/doublestar_test.go"
- (("\\{\"a\\[\", \"a\", false, nil, false\\},.*")
- "")))))))
+ (list
+ ;; This test fails with Go 1.16.
+ #:test-flags #~(list "-skip" "TestMatch")
+ #:import-path "github.com/bmatcuk/doublestar"))
(home-page "https://github.com/bmatcuk/doublestar/")
(synopsis "Path pattern matching and globbing supporting doublestar")
(description "@code{doublestar} is a Go implementation of path pattern