mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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
This commit is contained in:
parent
26325888c1
commit
907b726b86
6 changed files with 30 additions and 14 deletions
|
@ -413,9 +413,9 @@ source code editors and IDEs.")
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list go-github-com-docopt-docopt-go
|
(list go-github-com-docopt-docopt-go
|
||||||
go-github-com-go-ini-ini
|
go-github-com-go-ini-ini
|
||||||
go-github-com-go-md2man
|
|
||||||
go-github-com-olekukonko-tablewriter
|
go-github-com-olekukonko-tablewriter
|
||||||
go-github-com-stretchr-testify))
|
go-github-com-stretchr-testify
|
||||||
|
go-md2man))
|
||||||
(home-page "https://github.com/mrtazz/checkmake")
|
(home-page "https://github.com/mrtazz/checkmake")
|
||||||
(synopsis "Linter and analyzer for @file{Makefile}")
|
(synopsis "Linter and analyzer for @file{Makefile}")
|
||||||
(description
|
(description
|
||||||
|
|
|
@ -489,8 +489,7 @@ Its main purpose is to support the key usage by @code{docker-init}:
|
||||||
#~(list (string-append "CC=" #$(cc-for-target))
|
#~(list (string-append "CC=" #$(cc-for-target))
|
||||||
(string-append "PREFIX=" #$output)
|
(string-append "PREFIX=" #$output)
|
||||||
(string-append "HELPER_BINARIES_DIR=" #$output "/_guix")
|
(string-append "HELPER_BINARIES_DIR=" #$output "/_guix")
|
||||||
(string-append "GOMD2MAN="
|
(string-append "GOMD2MAN=" #$go-md2man "/bin/go-md2man")
|
||||||
#$go-github-com-go-md2man "/bin/go-md2man")
|
|
||||||
(string-append "BUILDFLAGS=-trimpath"))
|
(string-append "BUILDFLAGS=-trimpath"))
|
||||||
#:tests? #f ; /sys/fs/cgroup not set up in guix sandbox
|
#:tests? #f ; /sys/fs/cgroup not set up in guix sandbox
|
||||||
#:test-target "test"
|
#:test-target "test"
|
||||||
|
@ -575,7 +574,7 @@ Its main purpose is to support the key usage by @code{docker-init}:
|
||||||
bats
|
bats
|
||||||
git-minimal/pinned
|
git-minimal/pinned
|
||||||
go-1.22
|
go-1.22
|
||||||
go-github-com-go-md2man
|
go-md2man
|
||||||
gnu-gettext ; for envsubst
|
gnu-gettext ; for envsubst
|
||||||
mandoc
|
mandoc
|
||||||
pkg-config
|
pkg-config
|
||||||
|
@ -643,8 +642,7 @@ being rootless and not requiring any daemon to be running.")
|
||||||
#:make-flags
|
#:make-flags
|
||||||
#~(list (string-append "CC=" #$(cc-for-target))
|
#~(list (string-append "CC=" #$(cc-for-target))
|
||||||
(string-append "PREFIX=" #$output)
|
(string-append "PREFIX=" #$output)
|
||||||
(string-append "GOMD2MAN="
|
(string-append "GOMD2MAN=" #$go-md2man "/bin/go-md2man"))
|
||||||
#$go-github-com-go-md2man "/bin/go-md2man"))
|
|
||||||
#:tests? #f ; /sys/fs/cgroup not set up in guix sandbox
|
#:tests? #f ; /sys/fs/cgroup not set up in guix sandbox
|
||||||
#:test-target "test-unit"
|
#:test-target "test-unit"
|
||||||
#:phases
|
#:phases
|
||||||
|
@ -702,7 +700,7 @@ being rootless and not requiring any daemon to be running.")
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list bats
|
(list bats
|
||||||
go-1.23
|
go-1.23
|
||||||
go-github-com-go-md2man
|
go-md2man
|
||||||
pkg-config))
|
pkg-config))
|
||||||
(synopsis "Build @acronym{OCI, Open Container Initiative} images")
|
(synopsis "Build @acronym{OCI, Open Container Initiative} images")
|
||||||
(description
|
(description
|
||||||
|
|
|
@ -3968,6 +3968,7 @@ it effectively reuses the JSON struct tags as well as the custom JSON methods
|
||||||
(build-system go-build-system)
|
(build-system go-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
|
#:skip-build? #t
|
||||||
#:import-path "github.com/cpuguy83/go-md2man"))
|
#:import-path "github.com/cpuguy83/go-md2man"))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list go-github-com-russross-blackfriday-v2))
|
(list go-github-com-russross-blackfriday-v2))
|
||||||
|
@ -19498,6 +19499,24 @@ Jsonnet C++implementation.")
|
||||||
(string-append (package-description go-github-com-vburenin-ifacemaker)
|
(string-append (package-description go-github-com-vburenin-ifacemaker)
|
||||||
" This package provides a command line interface (CLI) tool."))))
|
" 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
|
(define-public go-msgio
|
||||||
(package
|
(package
|
||||||
(inherit go-github-com-libp2p-go-msgio)
|
(inherit go-github-com-libp2p-go-msgio)
|
||||||
|
|
|
@ -188,7 +188,7 @@ sets, and tools to deal with register databases.")
|
||||||
(map (lambda (target)
|
(map (lambda (target)
|
||||||
(apply invoke "make" target make-flags))
|
(apply invoke "make" target make-flags))
|
||||||
'("install.udev" "install.polkit")))))))
|
'("install.udev" "install.polkit")))))))
|
||||||
(native-inputs (list go-github-com-go-md2man))
|
(native-inputs (list go-md2man))
|
||||||
(supported-systems
|
(supported-systems
|
||||||
(lset-difference string=? %supported-systems %hurd-systems))
|
(lset-difference string=? %supported-systems %hurd-systems))
|
||||||
(home-page "https://gitlab.com/cameronnemo/brillo")
|
(home-page "https://gitlab.com/cameronnemo/brillo")
|
||||||
|
|
|
@ -82,7 +82,7 @@
|
||||||
(list avahi libusb))
|
(list avahi libusb))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list go-github-com-openprinting-goipp
|
(list go-github-com-openprinting-goipp
|
||||||
go-github-com-go-md2man
|
go-md2man
|
||||||
pkg-config))
|
pkg-config))
|
||||||
(home-page "https://github.com/OpenPrinting/ipp-usb")
|
(home-page "https://github.com/OpenPrinting/ipp-usb")
|
||||||
(synopsis "HTTP reverse proxy, backed by the IPP-over-USB connection")
|
(synopsis "HTTP reverse proxy, backed by the IPP-over-USB connection")
|
||||||
|
|
|
@ -2317,7 +2317,7 @@ main monitor/GPU.")
|
||||||
(invoke "make" "install" "install-bash" "install-man"
|
(invoke "make" "install" "install-bash" "install-man"
|
||||||
(string-append "PREFIX=" out)))))))))
|
(string-append "PREFIX=" out)))))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list go-github-com-go-md2man pkg-config))
|
(list go-md2man pkg-config))
|
||||||
(inputs
|
(inputs
|
||||||
(list libseccomp))
|
(list libseccomp))
|
||||||
(synopsis "Open container initiative runtime")
|
(synopsis "Open container initiative runtime")
|
||||||
|
@ -2394,7 +2394,7 @@ Open Container Initiative (OCI) image layout and its tagged images.")
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list go-1.22
|
(list go-1.22
|
||||||
go-github-com-go-md2man
|
go-md2man
|
||||||
pkg-config))
|
pkg-config))
|
||||||
(inputs
|
(inputs
|
||||||
(list bash-minimal
|
(list bash-minimal
|
||||||
|
@ -2413,8 +2413,7 @@ Open Container Initiative (OCI) image layout and its tagged images.")
|
||||||
"PREFIX="
|
"PREFIX="
|
||||||
(string-append "DESTDIR=" #$output)
|
(string-append "DESTDIR=" #$output)
|
||||||
"GOGCFLAGS=-trimpath"
|
"GOGCFLAGS=-trimpath"
|
||||||
(string-append "GOMD2MAN="
|
(string-append "GOMD2MAN=" #$go-md2man "/bin/go-md2man"))
|
||||||
#$go-github-com-go-md2man "/bin/go-md2man"))
|
|
||||||
#:tests? #f ; The tests require Docker
|
#:tests? #f ; The tests require Docker
|
||||||
#:test-target "test-unit"
|
#:test-target "test-unit"
|
||||||
#:imported-modules
|
#:imported-modules
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue