2014-06-01 14:40:14 +01:00
|
|
|
{ stdenv, fetchurl, libpcap, openssl, zlib, wirelesstools, libnl, pkgconfig }:
|
2009-02-01 21:21:12 +00:00
|
|
|
|
2011-02-14 22:40:51 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2014-06-01 14:40:14 +01:00
|
|
|
name = "aircrack-ng-1.2-beta3";
|
2009-02-01 21:21:12 +00:00
|
|
|
|
2013-06-02 18:54:20 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "http://download.aircrack-ng.org/${name}.tar.gz";
|
2014-06-01 14:40:14 +01:00
|
|
|
sha256 = "13g9xz9djjgfc2xi88vnx7zhgy751hqb3739y7znyihd6q9sw8id";
|
2009-02-01 21:21:12 +00:00
|
|
|
};
|
|
|
|
|
2014-06-01 14:40:14 +01:00
|
|
|
buildInputs = [ libpcap openssl zlib libnl pkgconfig ];
|
2009-02-01 21:21:12 +00:00
|
|
|
|
2009-02-02 21:57:18 +00: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 21:21:12 +00:00
|
|
|
|
2013-06-02 19:37:14 +01:00
|
|
|
meta = with stdenv.lib; {
|
2009-02-01 21:21:12 +00:00
|
|
|
description = "Wireless encryption crackign tools";
|
|
|
|
homepage = http://www.aircrack-ng.org/;
|
2014-06-19 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2013-06-02 19:37:14 +01:00
|
|
|
maintainers = [ maintainers.iElectric maintainers.viric maintainers.garbas maintainers.chaoflow ];
|
2013-06-02 23:31:33 +01:00
|
|
|
platforms = platforms.linux;
|
2009-02-01 21:21:12 +00:00
|
|
|
};
|
|
|
|
}
|