1{ stdenv, fetchurl }:
2
3stdenv.mkDerivation rec {
4 name = "ethtool-${version}";
5 version = "4.6";
6
7 src = fetchurl {
8 url = "mirror://kernel/software/network/ethtool/${name}.tar.xz";
9 sha256 = "e90589a9349d008cce8c0510ac4e8878efdc0ddb1b732a9a4cc333b101313415";
10 };
11
12 meta = with stdenv.lib; {
13 description = "Utility for controlling network drivers and hardware";
14 homepage = https://www.kernel.org/pub/software/network/ethtool/;
15 license = licenses.gpl2;
16 platforms = platforms.linux;
17 maintainers = [ maintainers.bjornfor ];
18 };
19}