2014-06-01 06:40:14 -07:00
|
|
|
{ stdenv, fetchurl, libpcap, openssl, zlib, wirelesstools, libnl, pkgconfig }:
|
2009-02-01 13:21:12 -08:00
|
|
|
|
2011-02-14 14:40:51 -08:00
|
|
|
stdenv.mkDerivation rec {
|
2016-01-13 17:46:23 -08:00
|
|
|
name = "aircrack-ng-1.2-rc3";
|
2009-02-01 13:21:12 -08:00
|
|
|
|
2013-06-02 10:54:20 -07:00
|
|
|
src = fetchurl {
|
|
|
|
url = "http://download.aircrack-ng.org/${name}.tar.gz";
|
2016-01-13 17:46:23 -08:00
|
|
|
sha256 = "11a53acln0fpar6v75qlybzdg8hdwc9ssd06fxygr47yp755qncf";
|
2009-02-01 13:21:12 -08:00
|
|
|
};
|
|
|
|
|
2014-06-01 06:40:14 -07:00
|
|
|
buildInputs = [ libpcap openssl zlib libnl pkgconfig ];
|
2009-02-01 13:21:12 -08:00
|
|
|
|
2009-02-02 13:57:18 -08:00
|
|
|
patchPhase = ''
|
|
|
|
sed -e 's@^prefix.*@prefix = '$out@ -i common.mak
|
|
|
|
sed -e 's@/usr/local/bin@'${wirelesstools}@ -i src/osdep/linux.c
|
|
|
|
'';
|
2009-02-01 13:21:12 -08:00
|
|
|
|
2013-06-02 11:37:14 -07:00
|
|
|
meta = with stdenv.lib; {
|
2016-01-13 17:48:15 -08:00
|
|
|
description = "Wireless encryption cracking tools";
|
2009-02-01 13:21:12 -08:00
|
|
|
homepage = http://www.aircrack-ng.org/;
|
2016-01-13 17:48:15 -08:00
|
|
|
license = licenses.gpl2Plus;
|
2016-05-17 04:57:28 -07:00
|
|
|
maintainers = with maintainers; [ domenkozar viric garbas chaoflow nckx ];
|
2013-06-02 15:31:33 -07:00
|
|
|
platforms = platforms.linux;
|
2009-02-01 13:21:12 -08:00
|
|
|
};
|
|
|
|
}
|