From 38fe5f1034c904a5f00da0b9d1bb90e1e48b8f13 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Sun, 7 Sep 2025 16:04:46 +0100 Subject: [PATCH] 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 --- gnu/packages/golang-xyz.scm | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index e63e3e4c522e4b8e0df0c0a348b3ffc769845a32..004223dc482971d29a4b44fdc131a813aa0df848 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -23798,18 +23798,23 @@ tool.")))) tools.")))) (define-public go-tengo - (package - (inherit go-github-com-d5-tengo-v2) + (package/inherit go-github-com-d5-tengo-v2 (name "tengo") (arguments - (list - #:import-path "github.com/d5/tengo/cmd/tengo" - #:unpack-path "github.com/d5/tengo" - #:install-source? #f)) + (substitute-keyword-arguments + (package-arguments go-github-com-d5-tengo-v2) + ((#:tests? _ #t) #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 - (string-append (package-description go-github-com-d5-tengo-v2) - "\nThis package provides an command line interface (CLI) -tool.")))) + (string-append + (package-description go-github-com-d5-tengo-v2) + "\nThis package provides a command line interface (CLI) tool.")))) (define-public go-gronx-tasker (package/inherit go-github-com-adhocore-gronx