~ruther/guix-local

73969883e89c841b8ef6cdd96b815d0c512197c4 — Sharlatan Hellseher 7 months ago 7b871ae
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
1 files changed, 14 insertions(+), 10 deletions(-)

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