gnu: go-hclogvet: Switch to package/inherit.

* gnu/packages/golang-xyz.scm (go-hclogvet): Switch to package/inherit.
[arguments]: Substitute keyword arguments instead of overwriting them.
[native-inputs]: Inherit.
[propagated-inputs]: Drop all.
[inputs]: Drop all.

Change-Id: I8544c879069d4b13a2356b79eb3c6c05c7adfde3
This commit is contained in:
Sharlatan Hellseher 2025-09-11 15:16:21 +01:00
parent 679ce822e7
commit 3cf2051c28
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -23832,14 +23832,19 @@ library.")
"\nThis package provides a command line interface (CLI) tool."))))
(define-public go-hclogvet
(package
(inherit go-github-com-hashicorp-go-hclog)
(package/inherit go-github-com-hashicorp-go-hclog
(name "go-hclogvet")
(arguments
(list
#:import-path "github.com/hashicorp/go-hclog/hclogvet"
#:unpack-path "github.com/hashicorp/go-hclog"
#:install-source? #f))
(substitute-keyword-arguments
(package-arguments go-github-com-hashicorp-go-hclog)
((#:tests? _ #t) #f)
((#:install-source? _ #t) #f)
((#:import-path _) "github.com/hashicorp/go-hclog/hclogvet")
((#:unpack-path _ "") "github.com/hashicorp/go-hclog")))
(native-inputs
(package-propagated-inputs go-github-com-hashicorp-go-hclog))
(propagated-inputs '())
(inputs '())
(description
"@code{hclogvet} is a @code{go vet} tool for checking that the
Trace/Debug/Info/Warn/Error methods on @code{hclog.Logger} are used