gnu: go-github-com-stretchr-objx: Remove vendored code.
* gnu/packages/golang.scm (go-github-com-stretchr-objx)[source]: Add snippet to remove vendor directory. [propagated-inputs]: Add go-github-com-davecgh-go-spew, go-github-com-pmezard-go-difflib [inputs]: Add go-github-com-stretchr-testify-bootstrap. [native-inputs]" Add go-gopkg-in-yaml-v2. (go-github-com-stretchr-testify-bootstrap): New variable.master
parent
d2c8f1da53
commit
d87c292d7d
|
@ -2861,10 +2861,21 @@ Go.")
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0pcdvakxgddaiwcdj73ra4da05a3q4cgwbpm2w75ycq4kzv8ij8k"))))
|
"0pcdvakxgddaiwcdj73ra4da05a3q4cgwbpm2w75ycq4kzv8ij8k"))
|
||||||
|
(modules '((guix build utils)))
|
||||||
|
(snippet
|
||||||
|
'(begin
|
||||||
|
(delete-file-recursively "vendor")))))
|
||||||
(build-system go-build-system)
|
(build-system go-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:import-path "github.com/stretchr/objx"))
|
'(#:import-path "github.com/stretchr/objx"))
|
||||||
|
(propagated-inputs
|
||||||
|
(list go-github-com-davecgh-go-spew
|
||||||
|
go-github-com-pmezard-go-difflib))
|
||||||
|
(inputs
|
||||||
|
(list go-github-com-stretchr-testify-bootstrap))
|
||||||
|
(native-inputs
|
||||||
|
(list go-gopkg-in-yaml-v2))
|
||||||
(home-page "https://github.com/stretchr/objx")
|
(home-page "https://github.com/stretchr/objx")
|
||||||
(synopsis "Go package for dealing with maps, slices, JSON and other data")
|
(synopsis "Go package for dealing with maps, slices, JSON and other data")
|
||||||
(description "This package provides a Go library for dealing with maps,
|
(description "This package provides a Go library for dealing with maps,
|
||||||
|
@ -2907,6 +2918,16 @@ Features include:
|
||||||
@end itemize")
|
@end itemize")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
|
(define go-github-com-stretchr-testify-bootstrap
|
||||||
|
(package
|
||||||
|
(inherit go-github-com-stretchr-testify)
|
||||||
|
(arguments
|
||||||
|
'(#:import-path "github.com/stretchr/testify"
|
||||||
|
#:tests? #f
|
||||||
|
#:phases (modify-phases %standard-phases
|
||||||
|
(delete 'build))))
|
||||||
|
(propagated-inputs '())))
|
||||||
|
|
||||||
(define-public go-github-com-tevino-abool
|
(define-public go-github-com-tevino-abool
|
||||||
(let ((commit
|
(let ((commit
|
||||||
"3c25f2fe7cd0ef3eabefce1d90efd69a65d35b12")
|
"3c25f2fe7cd0ef3eabefce1d90efd69a65d35b12")
|
||||||
|
|
Reference in New Issue