sharlatan pushed a commit to branch go-team
in repository guix.

commit ae08b8ab05264f4710405429d533a005d2fe8697
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sat Jul 27 09:33:28 2024 +0100

    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
---
 gnu/packages/docker.scm | 31 +++++++++++++++----------------
 1 file 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,

Reply via email to