summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2024-11-24 12:11:54 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-01-21 23:41:44 +0000
commit260362f5c87b2d6fb035f53ee28d257e72136af6 (patch)
tree4a132a9ec079c5856c61da5441561b56f5fb4789
parent6816edffcf783a8d85f1f0c2a89e9470ed6c2eff (diff)
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
-rw-r--r--gnu/packages/golang.scm13
1 files changed, 4 insertions, 9 deletions
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 0a9d8f4796..384543912c 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -5429,15 +5429,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