aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/networking.scm
diff options
context:
space:
mode:
authorMark H Weaver <mhw@netris.org>2015-07-27 14:53:38 -0400
committerMark H Weaver <mhw@netris.org>2015-07-27 15:12:52 -0400
commit5df2316d730b93cac8d9add0325ddcf1d0090f42 (patch)
tree8290ae5f8e996c61e16d9bf3f34e0be0338d51bc /gnu/packages/networking.scm
parenta2b2aebea9ab67fe4c1462e26ff5164e371b66dd (diff)
downloadgnu-guix-5df2316d730b93cac8d9add0325ddcf1d0090f42.tar
gnu-guix-5df2316d730b93cac8d9add0325ddcf1d0090f42.tar.gz
gnu: Add ethtool.
* gnu/packages/networking.scm (ethtool): New variable.
Diffstat (limited to 'gnu/packages/networking.scm')
-rw-r--r--gnu/packages/networking.scm20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 70e02d6c7f..dc139e28fe 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -126,3 +126,23 @@ more.")
Discovery Protocol. It also provides a tool named ndptool for sending and
receiving NDP messages.")
(license license:lgpl2.1+)))
+
+(define-public ethtool
+ (package
+ (name "ethtool")
+ (version "4.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "mirror://kernel.org/software/network/"
+ name "/" name "-" version ".tar.xz"))
+ (sha256
+ (base32
+ "1zzcwn6pk8qfasalqkxg8vrhacksfa50xsq4xifw7yfjqyn8fj4h"))))
+ (build-system gnu-build-system)
+ (home-page "https://www.kernel.org/pub/software/network/ethtool/")
+ (synopsis "Display or change Ethernet device settings")
+ (description
+ "ethtool can be used to query and change settings such as speed,
+auto-negotiation and checksum offload on many network devices, especially
+Ethernet devices.")
+ (license license:gpl2)))