nixpkgs/pkgs/tools/misc/ethtool/default.nix

19 lines
521 B
Nix
Raw Normal View History

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
2016-04-12 17:13:16 +02:00
name = "ethtool-4.5";
src = fetchurl {
url = "mirror://kernel/software/network/ethtool/${name}.tar.xz";
2016-04-12 17:13:16 +02:00
sha256 = "0fyakzpcrjb7hkaj9ccpcgza7r2im17qzxy9w6xzbiss5hrk8a5v";
};
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 ];
};
}