blob: d46815e8bf2a38b772d3733174056cc0ebe6775d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
{ lib
, stdenv
, fetchurl
, libmnl
, pkg-config
}:
stdenv.mkDerivation rec {
pname = "ethtool";
version = "5.16";
src = fetchurl {
url = "mirror://kernel/software/network/${pname}/${pname}-${version}.tar.xz";
sha256 = "sha256-qi/vGTbdShF1XfoL25Pw7FvqRSCNJ8l1S8Or4apCwcs=";
};
nativeBuildInputs = [
pkg-config
];
buildInputs = [
libmnl
];
meta = with lib; {
description = "Utility for controlling network drivers and hardware";
homepage = "https://www.kernel.org/pub/software/network/ethtool/";
license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ bjornfor ];
};
}
|