nixpkgs/pkgs/tools/misc/ethtool/default.nix
2017-11-03 21:25:41 +02:00

20 lines
548 B
Nix

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "ethtool-${version}";
version = "4.13";
src = fetchurl {
url = "mirror://kernel/software/network/ethtool/${name}.tar.xz";
sha256 = "1flwz4x76ajxigadq9knxgwr778g03y3qfx6c7rflc3x020a7hdp";
};
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 ];
};
}