Merge pull request #34174 from dtzWill/update/wirelesstools

wirelesstools: update, add license, fix w/cross
This commit is contained in:
John Ericson 2018-01-22 19:51:36 -05:00 committed by GitHub
commit 1f70b32725
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,18 +1,20 @@
{stdenv, fetchurl}:
stdenv.mkDerivation {
name = "wireless-tools-29";
stdenv.mkDerivation rec {
name = "wireless-tools-${version}";
version = "30.pre2";
src = fetchurl {
url = http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/wireless_tools.29.tar.gz;
sha256 = "18g5wa3rih89i776nc2n2s50gcds4611gi723h9ki190zqshkf3g";
url = "http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/wireless_tools.${version}.tar.gz";
sha256 = "01lgf592nk8fnk7l5afqvar4szkngwpgcv4xh58qsg9wkkjlhnls";
};
preBuild = "
makeFlagsArray=(PREFIX=$out)
makeFlagsArray=(PREFIX=$out CC=$CC LDCONFIG=: AR=$AR RANLIB=$RANLIB)
";
meta = {
platforms = stdenv.lib.platforms.linux;
license = stdenv.lib.licenses.gpl2;
};
}