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

commit c961057bf67f0d92ea4a4b3956f00c14150c4778
Author: Sharlatan Hellseher <sharlata...@gmail.com>
AuthorDate: Thu Jul 25 21:53:59 2024 +0100

    gnu: go-netlink: Refresh package style.
    
    * gnu/packages/linux.scm (go-netlink): Fix indentation, apply new
    package style, swap native-inputs with propagated-inputs.
    [propagated-inputs]: Add go-golang-org-x-sys and 
go-github-com-vishvananda-netns.
    [native-inputs]: Remove go-golang-org-x-sys and 
go-github-com-vishvananda-netns.
    
    Change-Id: I523cd03263752ab00c08e9011b86cb1b64327e7f
---
 gnu/packages/linux.scm | 34 ++++++++++++++++++----------------
 1 file changed, 18 insertions(+), 16 deletions(-)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 1fe8da839c..40c14745fa 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -9293,27 +9293,29 @@ management tools in userspace.")
   (package
     (name "go-netlink")
     (version "1.1.0")
-    (source (origin
-              (method git-fetch)
-              (uri (git-reference
-                    (url "https://github.com/vishvananda/netlink";)
-                    (commit (string-append "v" version))))
-              (file-name (git-file-name name version))
-              (sha256
-               (base32
-                "1vhl30p1gx636a088ls4h6a0l8jjyfvz79fr5w0qzdrg4qg9h08h"))))
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/vishvananda/netlink";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1vhl30p1gx636a088ls4h6a0l8jjyfvz79fr5w0qzdrg4qg9h08h"))))
     (build-system go-build-system)
     (arguments
-     `(#:tests? #f      ; Tests depend on specific kernel modules.
-       #:import-path "github.com/vishvananda/netlink"))
-    (native-inputs
+     (list
+      #:tests? #f      ; Tests depend on specific kernel modules.
+      #:import-path "github.com/vishvananda/netlink"))
+    (propagated-inputs
      (list go-golang-org-x-sys go-github-com-vishvananda-netns))
     (home-page "https://github.com/vishvananda/netlink";)
     (synopsis "Simple netlink library for Go")
-    (description "The netlink package provides a simple netlink library for
-Go.  Netlink is the interface a user-space program in Linux uses to
-communicate with the kernel.  It can be used to add and remove interfaces, set
-IP addresses and routes, and configure IPsec.")
+    (description
+     "The netlink package provides a simple netlink library for Go.  Netlink
+is the interface a user-space program in Linux uses to communicate with the
+kernel.  It can be used to add and remove interfaces, set IP addresses and
+routes, and configure IPsec.")
     (license license:asl2.0)))
 
 (define-public libinih

Reply via email to