diff options
author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-07-27 09:33:28 +0100 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-07-27 09:33:28 +0100 |
commit | ae08b8ab05264f4710405429d533a005d2fe8697 (patch) | |
tree | cde773cb9669496319904e97590caa9208d03dbd /gnu/packages | |
parent | 1dd90ea87011e845e28b91d838104bbbc0eb4451 (diff) | |
download | guix-ae08b8ab05264f4710405429d533a005d2fe8697.tar guix-ae08b8ab05264f4710405429d533a005d2fe8697.tar.gz |
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
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/docker.scm | 31 |
1 files changed, 15 insertions, 16 deletions
diff --git a/gnu/packages/docker.scm b/gnu/packages/docker.scm index c713466f67..c6d56a06b1 100644 --- a/gnu/packages/docker.scm +++ b/gnu/packages/docker.scm @@ -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, |