gnu: docker-libnetwork-cmd-proxy: Improve package style.

* gnu/packages/docker.scm (docker-libnetwork-cmd-proxy): Improve package
style. Fix indentation.
[arguments]: Apply list style, adjust order of the keys.
[native-inputs]: Remove labels.
[description]: Adjust it, place on a new line.

Change-Id: I0cb59a3d9306291e4101f6c6d2e681ffd319ba9f
This commit is contained in:
Sharlatan Hellseher 2024-07-27 09:33:28 +01:00
parent 1dd90ea870
commit ae08b8ab05
No known key found for this signature in database
GPG Key ID: 76D727BFF62CD2B5

View File

@ -300,24 +300,23 @@ the required network abstractions for applications.")
(inherit docker-libnetwork)
(name "docker-libnetwork-cmd-proxy")
(arguments
;; The tests are unsupported on all architectures except x86_64-linux.
`(#:tests? ,(and (not (%current-target-system))
(target-x86-64?))
#:import-path "github.com/docker/libnetwork/cmd/proxy"
#:unpack-path "github.com/docker/libnetwork"
#:install-source? #f))
(list
;; The tests are unsupported on all architectures except x86_64-linux.
#:tests? (and (not (%current-target-system)) (target-x86-64?))
#:install-source? #f
#:import-path "github.com/docker/libnetwork/cmd/proxy"
#:unpack-path "github.com/docker/libnetwork"))
(native-inputs
`(("go-sctp" ,go-sctp)
;; For tests.
("logrus" ,go-github-com-sirupsen-logrus)
("go-github-com-vishvananda-netlink" ,go-github-com-vishvananda-netlink)
("go-github-com-vishvananda-netns" ,go-github-com-vishvananda-netns)
("go-golang-org-x-crypto"
,go-golang-org-x-crypto)
("go-golang-org-x-sys" ,go-golang-org-x-sys)))
(list go-github-com-sirupsen-logrus ; for tests.
go-github-com-vishvananda-netlink
go-github-com-vishvananda-netns
go-golang-org-x-crypto
go-golang-org-x-sys
go-sctp))
(synopsis "Docker user-space proxy")
(description "A proxy running in the user space. It is used by the
built-in registry server of Docker.")
(description
"This package provides a proxy running in the user space. It is used by
the built-in registry server of Docker.")
(license license:asl2.0)))
;; TODO: Patch out modprobes for ip_vs, nf_conntrack,