summaryrefslogtreecommitdiff
path: root/gnu/packages/golang-xyz.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-02-26 21:28:55 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-05-26 16:50:24 +0100
commit907b726b86f055d5e158c50a46e9570961ca0357 (patch)
tree5c5cef3305502b517c9a5868427395acdfd4803d /gnu/packages/golang-xyz.scm
parent26325888c1f6604a0cf25f74c9d75455909b3bf9 (diff)
gnu: go-github-com-go-md2man: Package executable separately.
* gnu/packages/golang-xyz.scm (go-github-com-go-md2man) [arguments] <skip-build?>: Preserve the package for source only inputs. (go-md2man): New variable. * gnu/packages/check.scm (checkmake): [native-inputs]: Remove go-github-com-go-md2man; add go-md2man. * gnu/packages/containers.scm (buildah, podman): Likewise. * gnu/packages/hardware.scm (brillo): Likewise. * gnu/packages/printers.scm (ipp-usb): Likewise. * gnu/packages/virtualization.scm (runc, skopeo): Likewise. Change-Id: I753364633786574c603a978da75a57090d706b27
Diffstat (limited to 'gnu/packages/golang-xyz.scm')
-rw-r--r--gnu/packages/golang-xyz.scm19
1 files changed, 19 insertions, 0 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 0599677dfd..c213ad8978 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -3968,6 +3968,7 @@ it effectively reuses the JSON struct tags as well as the custom JSON methods
(build-system go-build-system)
(arguments
(list
+ #:skip-build? #t
#:import-path "github.com/cpuguy83/go-md2man"))
(propagated-inputs
(list go-github-com-russross-blackfriday-v2))
@@ -19498,6 +19499,24 @@ Jsonnet C++implementation.")
(string-append (package-description go-github-com-vburenin-ifacemaker)
" This package provides a command line interface (CLI) tool."))))
+(define-public go-md2man
+ (package/inherit go-github-com-go-md2man
+ (name "go-md2man")
+ (arguments
+ (substitute-keyword-arguments
+ (package-arguments go-github-com-go-md2man)
+ ((#:tests? _ #t) #f)
+ ((#:install-source? _ #t) #f)
+ ((#:skip-build? _ #t) #f)))
+ (native-inputs
+ (package-propagated-inputs go-github-com-go-md2man))
+ (propagated-inputs '())
+ (inputs '())
+ (description
+ (string-append (package-description go-github-com-go-md2man)
+ "\nThis package provides a command line interface (CLI)
+tool."))))
+
(define-public go-msgio
(package
(inherit go-github-com-libp2p-go-msgio)