~ruther/guix-local

3cf2051c28748e7076182c1a586ecc07b3c6e848 — Sharlatan Hellseher 7 months ago 679ce82
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
1 files changed, 11 insertions(+), 6 deletions(-)

M gnu/packages/golang-xyz.scm
M gnu/packages/golang-xyz.scm => gnu/packages/golang-xyz.scm +11 -6
@@ 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