guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

06/63: gnu: Add go-github-com-safchain-ethtool.


From: guix-commits
Subject: 06/63: gnu: Add go-github-com-safchain-ethtool.
Date: Sat, 28 Dec 2024 11:13:38 -0500 (EST)

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

commit d34a62bdb1491b638ec389bb2b868a0e8d759499
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Fri Dec 27 12:27:46 2024 +0000

    gnu: Add go-github-com-safchain-ethtool.
    
    * gnu/packages/golang-web.scm (go-github-com-safchain-ethtool): New 
variable.
    
    Change-Id: I82ece19fc5819b4ae6466016760644e518058268
---
 gnu/packages/golang-web.scm | 39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index b60d8404b6..c8619315d0 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -6171,6 +6171,45 @@ per host/process
 @end itemize")
     (license license:expat)))
 
+(define-public go-github-com-safchain-ethtool
+  (package
+    (name "go-github-com-safchain-ethtool")
+    (version "0.5.9")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/safchain/ethtool";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "01q0qfyksnhd4a2w2824yzdmyb4g4xr0y2z4ffnpbzz1wp60rydg"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/safchain/ethtool"
+      #:test-flags
+      ;; Unable to retrieve driver from any interface of this system.
+      #~(list "-skip"
+              (string-join
+               (list "TestCmdGet"
+                     "TestCmdGetMapped"
+                     "TestMsglvlGet"
+                     "TestStats"
+                     "TestDriverName"
+                     "TestBusInfo")
+               "|"))))
+    (propagated-inputs
+     (list go-golang-org-x-sys))
+    (home-page "https://github.com/safchain/ethtool";)
+    (synopsis "Ethtool library for Golang")
+    (description
+     "The ethtool package aims to provide a library that implements easy
+access to the Linux SIOCETHTOOL ioctl operations.  It can be used to retrieve
+information from a network device such as statistics, driver related
+information or even the peer of a VETH interface.")
+    (license license:asl2.0)))
+
 (define-public go-github-com-sherclockholmes-webpush-go
   (package
     (name "go-github-com-sherclockholmes-webpush-go")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]