gnu: tengo: Switch to package/inherit.

* gnu/packages/golang-xyz.scm (tengo): 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: I67e736ec5946290d8ed41648b9c2b684b059a672
This commit is contained in:
Sharlatan Hellseher 2025-09-07 16:04:46 +01:00
parent 73969883e8
commit 38fe5f1034
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -23798,18 +23798,23 @@ tool."))))
tools.")))) tools."))))
(define-public go-tengo (define-public go-tengo
(package (package/inherit go-github-com-d5-tengo-v2
(inherit go-github-com-d5-tengo-v2)
(name "tengo") (name "tengo")
(arguments (arguments
(list (substitute-keyword-arguments
#:import-path "github.com/d5/tengo/cmd/tengo" (package-arguments go-github-com-d5-tengo-v2)
#:unpack-path "github.com/d5/tengo" ((#:tests? _ #t) #f)
#:install-source? #f)) ((#:install-source? _ #t) #f)
((#:import-path "github.com/d5/tengo/v2")
"github.com/d5/tengo/v2/cmd/tengo")
((#:unpack-path _ "") "github.com/d5/tengo/v2")))
(native-inputs (package-propagated-inputs go-github-com-d5-tengo-v2))
(propagated-inputs '())
(inputs '())
(description (description
(string-append (package-description go-github-com-d5-tengo-v2) (string-append
"\nThis package provides an command line interface (CLI) (package-description go-github-com-d5-tengo-v2)
tool.")))) "\nThis package provides a command line interface (CLI) tool."))))
(define-public go-gronx-tasker (define-public go-gronx-tasker
(package/inherit go-github-com-adhocore-gronx (package/inherit go-github-com-adhocore-gronx