nixpkgs/pkgs/tools/networking/aircrack-ng/default.nix
Lluís Batlle i Rossell 2037ddccb0 Adding aircrack-ng.
svn path=/nixpkgs/trunk/; revision=13936
2009-02-01 21:21:12 +00:00

23 lines
562 B
Nix

{stdenv, fetchurl, libpcap, openssl, zlib}:
stdenv.mkDerivation {
name = "aircrack-ng-1.0-rc2";
src = fetchurl {
url = http://download.aircrack-ng.org/aircrack-ng-1.0-rc2.tar.gz;
sha256 = "9d52f15f3fca52775ecb9cfc1f0aeb04c3c3bd3101665d5760d395f7d2a87d8b";
};
buildInputs = [libpcap openssl zlib];
patches = [ ./add-paths.patch ];
postPatch = "sed -e 's@^prefix.*@prefix = '$out@ -i common.mak";
meta = {
description = "Wireless encryption crackign tools";
homepage = http://www.aircrack-ng.org/;
license = "GPL2+";
};
}