~ruther/guix-local

38fe5f1034c904a5f00da0b9d1bb90e1e48b8f13 — Sharlatan Hellseher 7 months ago 7396988
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
1 files changed, 14 insertions(+), 9 deletions(-)

M gnu/packages/golang-xyz.scm
M gnu/packages/golang-xyz.scm => gnu/packages/golang-xyz.scm +14 -9
@@ 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