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 @@ (define-public docker-libnetwork-cmd-proxy
(inherit docker-libnetwork) (inherit docker-libnetwork)
(name "docker-libnetwork-cmd-proxy") (name "docker-libnetwork-cmd-proxy")
(arguments (arguments
;; The tests are unsupported on all architectures except x86_64-linux. (list
`(#:tests? ,(and (not (%current-target-system)) ;; The tests are unsupported on all architectures except x86_64-linux.
(target-x86-64?)) #:tests? (and (not (%current-target-system)) (target-x86-64?))
#:import-path "github.com/docker/libnetwork/cmd/proxy" #:install-source? #f
#:unpack-path "github.com/docker/libnetwork" #:import-path "github.com/docker/libnetwork/cmd/proxy"
#:install-source? #f)) #:unpack-path "github.com/docker/libnetwork"))
(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,