~ruther/guix-local

260362f5c87b2d6fb035f53ee28d257e72136af6 — Sharlatan Hellseher 1 year, 8 months ago 6816edf
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
1 files changed, 4 insertions(+), 9 deletions(-)

M gnu/packages/golang.scm
M gnu/packages/golang.scm => gnu/packages/golang.scm +4 -9
@@ 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