aircrack-ng: 1.5.2 -> 1.6

This commit is contained in:
Maximilian Bosch 2020-03-15 22:09:39 +01:00
parent 3951e718b8
commit 9729f30667
No known key found for this signature in database
GPG Key ID: 091DBF4D1FC46B8E

View File

@ -3,18 +3,18 @@
, autoreconfHook, usbutils }: , autoreconfHook, usbutils }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "aircrack-ng-1.5.2"; name = "aircrack-ng-1.6";
src = fetchurl { src = fetchurl {
url = "https://download.aircrack-ng.org/${name}.tar.gz"; url = "https://download.aircrack-ng.org/${name}.tar.gz";
sha256 = "0hc2x17bxk2n00z8jj5jfwq3z41681fd19n018724il0cpkjyncy"; sha256 = "0ix2k64qg7x3w0bzdsbk1m50kcpq1ws59g3zkwiafvpwdr4gs2sg";
}; };
nativeBuildInputs = [ pkgconfig makeWrapper autoreconfHook ]; nativeBuildInputs = [ pkgconfig makeWrapper autoreconfHook ];
buildInputs = [ libpcap openssl zlib libnl iw ethtool pciutils ]; buildInputs = [ libpcap openssl zlib libnl iw ethtool pciutils ];
patchPhase = '' patchPhase = ''
sed -e 's@/usr/local/bin@'${wirelesstools}@ -i src/aircrack-osdep/linux.c sed -e 's@/usr/local/bin@'${wirelesstools}@ -i lib/osdep/linux.c
''; '';
postFixup = '' postFixup = ''