forked from mirrors/nixpkgs
a3963742e5
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/ethtool/versions. These checks were done: - built on NixOS - /nix/store/l6vkhh88xfbdfjaqm9wmnlvm1q6qqg7i-ethtool-4.17/bin/ethtool passed the binary check. - 1 of 1 passed binary check by having a zero exit code. - 1 of 1 passed binary check by having the new version present in output. - found 4.17 with grep in /nix/store/l6vkhh88xfbdfjaqm9wmnlvm1q6qqg7i-ethtool-4.17 - directory tree listing: https://gist.github.com/1861fff97928fe0b6cb81079b3266156 - du listing: https://gist.github.com/65766ebe5f7022f5c96f6f8266a93c78
20 lines
548 B
Nix
20 lines
548 B
Nix
{ stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "ethtool-${version}";
|
|
version = "4.17";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://kernel/software/network/ethtool/${name}.tar.xz";
|
|
sha256 = "11f5503mgcwjn1q4dvhjiqwnw3zmp2gbhirjvgfr71y72ys1wsy4";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|