50f568e2d5
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 - ran ‘/nix/store/gaiqa1ygxahd49bpb8zzc7fp4i1mml63-ethtool-4.16/bin/ethtool -h’ got 0 exit code - ran ‘/nix/store/gaiqa1ygxahd49bpb8zzc7fp4i1mml63-ethtool-4.16/bin/ethtool --help’ got 0 exit code - ran ‘/nix/store/gaiqa1ygxahd49bpb8zzc7fp4i1mml63-ethtool-4.16/bin/ethtool --version’ and found version 4.16 - found 4.16 with grep in /nix/store/gaiqa1ygxahd49bpb8zzc7fp4i1mml63-ethtool-4.16 - directory tree listing: https://gist.github.com/03539f0a0b1a6c9a35f832b19650ba47
20 lines
548 B
Nix
20 lines
548 B
Nix
{ stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "ethtool-${version}";
|
|
version = "4.16";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://kernel/software/network/ethtool/${name}.tar.xz";
|
|
sha256 = "00ss07jc7p276d83f6jpafgwyc9yiribciyqcgx9j86v49kpm5py";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|