mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
aircrack-ng: 1.2-rc4 -> 1.2 (#40590)
This commit is contained in:
parent
e03acfe161
commit
7bec433793
@ -1,19 +1,19 @@
|
||||
{ stdenv, fetchurl, libpcap, openssl, zlib, wirelesstools
|
||||
, iw, ethtool, pciutils, libnl, pkgconfig, makeWrapper }:
|
||||
, iw, ethtool, pciutils, libnl, pkgconfig, makeWrapper
|
||||
, autoreconfHook }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "aircrack-ng-1.2-rc4";
|
||||
name = "aircrack-ng-1.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://download.aircrack-ng.org/${name}.tar.gz";
|
||||
sha256 = "0dpzx9kddxpgzmgvdpl3rxn0jdaqhm5wxxndp1xd7d75mmmc2fnr";
|
||||
sha256 = "0z7sl1ihgrnc98bpqa1mmkh51w26fnsanvj6ydwcnd8g83azwkvr";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig makeWrapper ];
|
||||
nativeBuildInputs = [ pkgconfig makeWrapper autoreconfHook ];
|
||||
buildInputs = [ libpcap openssl zlib libnl iw ethtool pciutils ];
|
||||
|
||||
patchPhase = ''
|
||||
sed -e 's@^prefix.*@prefix = '$out@ -i common.mak
|
||||
sed -e 's@/usr/local/bin@'${wirelesstools}@ -i src/osdep/linux.c
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user