guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 73969883e89c841b8ef6cdd96b815d0c512197c4
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sun Sep 7 15:38:43 2025 +0100

    gnu: go-tomlv: Switch to package/inherit.
    
    * gnu/packages/golang-xyz.scm (go-tomlv): Switch to package/inherit.
    [arguments]: Substitute keyword arguments instead of overwriting them.
    [native-inputs]: Inherit.
    [propagated-inputs]: Drop all.
    [inputs]: Drop all.
    [description]: Fix it.
    
    Change-Id: I6545c54440f2d24bd95c1fdb659ae9b4cae82d92
---
 gnu/packages/golang-xyz.scm | 24 ++++++++++++++----------
 1 file changed, 14 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 1a3bf70998..e63e3e4c52 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -23860,19 +23860,23 @@ tool."))))
 tools."))))
 
 (define-public go-tomlv
-  (package
-    (inherit go-github-com-burntsushi-toml)
+  (package/inherit go-github-com-burntsushi-toml
     (name "go-tomlv")
     (arguments
-     (list
-      #:install-source? #f
-      #:tests? #f ; no tests.
-      #:import-path "github.com/BurntSushi/toml/cmd/tomlv"
-      #:unpack-path "github.com/BurntSushi/toml"))
+     (substitute-keyword-arguments
+         (package-arguments go-github-com-burntsushi-toml)
+       ((#:tests? _ #t) #f)
+       ((#:install-source? _ #t) #f)
+       ((#:import-path "github.com/BurntSushi/toml")
+        "github.com/BurntSushi/toml/cmd/tomlv")
+       ((#:unpack-path _ "") "github.com/BurntSushi/toml")))
+    (native-inputs (package-propagated-inputs go-github-com-burntsushi-toml))
+    (propagated-inputs '())
+    (inputs '())
     (description
-     (string-append (package-description go-github-com-burntsushi-toml)
-                    "  This package provides an command line interface (CLI)
-tool."))))
+     (string-append
+      (package-description go-github-com-burntsushi-toml)
+      "\nThis package provides a command line interface (CLI) tool."))))
 
 (define-public go-ulid
   (package/inherit go-github-com-oklog-ulid-v2

Reply via email to