mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 06:45:54 +03:00
aircrack-ng: 1.5.2 -> 1.6
This commit is contained in:
parent
3951e718b8
commit
9729f30667
@ -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 = ''
|
||||||
|
Loading…
Reference in New Issue
Block a user