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