guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 3cf2051c28748e7076182c1a586ecc07b3c6e848
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Thu Sep 11 15:16:21 2025 +0100

    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
---
 gnu/packages/golang-xyz.scm | 17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 4d8f3f7cc1..5426e52b8b 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -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

Reply via email to