mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-08 16:06:16 -05:00
gnu: go-github-com-bmatcuk-doublestar: Remove test incompatible with go-1.16.
* gnu/packages/golang.scm (go-github-com-bmatcuk-doublestar) [phases]{remove-incompatible-test}: New phase. Co-authored-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
This commit is contained in:
parent
d0d3bcc615
commit
733ca63bcd
1 changed files with 9 additions and 1 deletions
|
@ -6483,7 +6483,15 @@ (define-public go-github-com-bmatcuk-doublestar
|
||||||
"0bk5bixl6rqa8znxghyp6zndbccx9kdyrymjahgyp6qsrp7rk144"))))
|
"0bk5bixl6rqa8znxghyp6zndbccx9kdyrymjahgyp6qsrp7rk144"))))
|
||||||
(build-system go-build-system)
|
(build-system go-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:import-path "github.com/bmatcuk/doublestar"))
|
`(#: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\\},.*")
|
||||||
|
"")))))))
|
||||||
(home-page "https://github.com/bmatcuk/doublestar/")
|
(home-page "https://github.com/bmatcuk/doublestar/")
|
||||||
(synopsis "Path pattern matching and globbing supporting doublestar")
|
(synopsis "Path pattern matching and globbing supporting doublestar")
|
||||||
(description "@code{doublestar} is a Go implementation of path pattern
|
(description "@code{doublestar} is a Go implementation of path pattern
|
||||||
|
|
Loading…
Reference in a new issue