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
This commit is contained in:
Sharlatan Hellseher 2025-09-07 15:38:43 +01:00
parent 7b871ae9ce
commit 73969883e8
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -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