From 1af178559f71821478765bfc76c87bf1cf14dce0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Forsman?= Date: Thu, 11 Jul 2013 22:03:49 +0200 Subject: [PATCH] ethtool: 3.2 -> 3.10 And add package meta data. --- pkgs/tools/misc/ethtool/default.nix | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/pkgs/tools/misc/ethtool/default.nix b/pkgs/tools/misc/ethtool/default.nix index 1fc03a4ebff1..90d345daa135 100644 --- a/pkgs/tools/misc/ethtool/default.nix +++ b/pkgs/tools/misc/ethtool/default.nix @@ -1,11 +1,18 @@ {stdenv, fetchurl}: -stdenv.mkDerivation { - name = "ethtool-3.2"; +stdenv.mkDerivation rec { + name = "ethtool-3.10"; src = fetchurl { - url = mirror://kernel/software/network/ethtool/ethtool-3.2.tar.xz; - sha256 = "0g9ldaba3vwlsmf490j33y3fgsmpfzxlzzblwashl448f8lcfap7"; + url = "mirror://kernel/software/network/ethtool/${name}.tar.xz"; + sha256 = "0h0wvi0s6s80v26plkh66aiyybpfyi18sjg5pl9idrd0ccdr93gq"; }; + meta = with stdenv.lib; { + description = "Utility for controlling network drivers and hardware"; + homepage = https://www.kernel.org/pub/software/network/ethtool/; + license = licenses.gpl2; + platforms = platforms.linux; + maintainers = [ maintainers.bjornfor ]; + }; }