forked from mirrors/nixpkgs
ethtool: 3.2 -> 3.10
And add package meta data.
This commit is contained in:
parent
f2dea7d287
commit
1af178559f
|
@ -1,11 +1,18 @@
|
|||
{stdenv, fetchurl}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "ethtool-3.2";
|
||||
stdenv.mkDerivation rec {
|
||||
name = "ethtool-3.10";
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://kernel/software/network/ethtool/ethtool-3.2.tar.xz;
|
||||
sha256 = "0g9ldaba3vwlsmf490j33y3fgsmpfzxlzzblwashl448f8lcfap7";
|
||||
url = "mirror://kernel/software/network/ethtool/${name}.tar.xz";
|
||||
sha256 = "0h0wvi0s6s80v26plkh66aiyybpfyi18sjg5pl9idrd0ccdr93gq";
|
||||
};
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue