1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-14 19:10:49 +02:00

gnu: go-github-com-twpayne-go-vfs: Update to 5.0.4.

* gnu/packages/golang.scm (go-github-com-twpayne-go-vfs): Update to 5.0.4.
[arguments]<phases>: Use custom 'check.
[native-inputs]: Remove go-github-com-bmatcuk-doublestar and
go-github-com-stretchr-testify; add
go-github-com-alecthomas-assert-v2.

Change-Id: I3714118169840883aa5d896d72ba03891bf6d421
This commit is contained in:
Sharlatan Hellseher 2024-11-24 12:04:01 +00:00
parent 505474b8b5
commit 017f374695
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -5924,7 +5924,7 @@ temporal directories.")
(define-public go-github-com-twpayne-go-vfs (define-public go-github-com-twpayne-go-vfs
(package (package
(name "go-github-com-twpayne-go-vfs") (name "go-github-com-twpayne-go-vfs")
(version "1.5.0") (version "5.0.4")
(source (origin (source (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
@ -5933,13 +5933,21 @@ temporal directories.")
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"19dm3gi45znwaqbzxhwcgkiz8059bwa3ank80hc6qhdl579bpjnz")))) "152hbb6ww2f2ac2bf1d446vw8z8m22n1rsa7gvlzfa060vj9hjgx"))))
(build-system go-build-system) (build-system go-build-system)
(arguments (arguments
`(#:import-path "github.com/twpayne/go-vfs")) (list
#:import-path "github.com/twpayne/go-vfs"
#:phases
#~(modify-phases %standard-phases
;; XXX: Replace when go-build-system supports nested path.
(replace 'check
(lambda* (#:key import-path tests? #:allow-other-keys)
(when tests?
(with-directory-excursion (string-append "src/" import-path)
(invoke "go" "test" "-v" "./..."))))))))
(native-inputs (native-inputs
(list go-github-com-bmatcuk-doublestar (list go-github-com-alecthomas-assert-v2))
go-github-com-stretchr-testify))
(home-page "https://github.com/twpayne/go-vfs/") (home-page "https://github.com/twpayne/go-vfs/")
(synopsis "Abstraction of the @code{os} and @code{ioutil} Go packages") (synopsis "Abstraction of the @code{os} and @code{ioutil} Go packages")
(description "Package @code{vfs} provides an abstraction of the @code{os} (description "Package @code{vfs} provides an abstraction of the @code{os}