3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/misc/ethtool/default.nix

33 lines
664 B
Nix
Raw Normal View History

2021-09-27 09:55:59 +01:00
{ lib
, stdenv
, fetchurl
, libmnl
, pkg-config
}:
stdenv.mkDerivation rec {
pname = "ethtool";
2021-11-10 22:51:55 +00:00
version = "5.15";
src = fetchurl {
2020-01-11 06:16:39 +00:00
url = "mirror://kernel/software/network/${pname}/${pname}-${version}.tar.xz";
2021-11-10 22:51:55 +00:00
sha256 = "sha256-aG/WEQOJ1JwqEg8Aw81d/kPeutqOAh5CcNdLvkUqEW0=";
};
2021-09-27 09:55:59 +01:00
nativeBuildInputs = [
pkg-config
];
buildInputs = [
libmnl
];
2021-08-18 23:47:33 +01:00
meta = with lib; {
description = "Utility for controlling network drivers and hardware";
homepage = "https://www.kernel.org/pub/software/network/ethtool/";
2021-09-27 09:55:59 +01:00
license = licenses.gpl2Plus;
platforms = platforms.linux;
2021-09-27 09:55:59 +01:00
maintainers = with maintainers; [ bjornfor ];
};
}