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

20 lines
548 B
Nix
Raw Normal View History

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
2016-07-16 13:02:08 +01:00
name = "ethtool-${version}";
2017-11-03 17:54:35 +00:00
version = "4.13";
src = fetchurl {
url = "mirror://kernel/software/network/ethtool/${name}.tar.xz";
2017-11-03 17:54:35 +00:00
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 ];
};
}