mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-16 03:50:45 +02:00
gnu: go-github-com-twpayne-go-vfs: Move to golang-xyz.
* gnu/packages/golang.scm (go-github-com-twpayne-go-vfs): Move from here ... * gnu/packages/golang-xyz.scm: ... to here. Change-Id: I17966b165d427dcaed1ee06c7b2c32b153f9d2cd
This commit is contained in:
parent
017f374695
commit
6816edffcf
2 changed files with 34 additions and 33 deletions
|
@ -7925,6 +7925,40 @@ supported by the time package
|
|||
@end itemize")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public go-github-com-twpayne-go-vfs
|
||||
(package
|
||||
(name "go-github-com-twpayne-go-vfs")
|
||||
(version "5.0.4")
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/twpayne/go-vfs")
|
||||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "152hbb6ww2f2ac2bf1d446vw8z8m22n1rsa7gvlzfa060vj9hjgx"))))
|
||||
(build-system go-build-system)
|
||||
(arguments
|
||||
(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
|
||||
(list go-github-com-alecthomas-assert-v2))
|
||||
(home-page "https://github.com/twpayne/go-vfs/")
|
||||
(synopsis "Abstraction of the @code{os} and @code{ioutil} Go packages")
|
||||
(description
|
||||
"Package @code{vfs} provides an abstraction of the @code{os} and
|
||||
@code{ioutil} packages that is easy to test.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public go-github-com-vitrun-qart
|
||||
(let ((commit "bf64b92db6b05651d6c25a3dabf2d543b360c0aa")
|
||||
(revision "0"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue