nixpkgs/pkgs/tools/networking/reaver-wps/default.nix
Lluís Batlle i Rossell 678e983f5e Adding reaver-wps.
2013-04-26 17:14:09 +04:00

27 lines
538 B
Nix

{ stdenv, fetchurl, libpcap, sqlite }:
stdenv.mkDerivation rec {
name = "reaver-wps-1.4";
src = fetchurl {
url = http://reaver-wps.googlecode.com/files/reaver-1.4.tar.gz;
sha256 = "0bdjai4p8xbsw8zdkkk43rgsif79x0nyx4djpyv0mzh59850blxd";
};
buildInputs = [ libpcap sqlite ];
prePatch = ''
cd src
'';
preInstall = ''
ensureDir $out/bin
'';
meta = {
description = "Brute force attack against Wifi Protected Setup";
homepage = http://code.google.com/p/reaver-wps;
license = "GPLv2+";
};
}