2015-02-25 15:19:44 +00:00
|
|
|
{stdenv, fetchFromGitHub, openssl, libpcap}:
|
2014-01-26 20:42:18 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "bully-${version}";
|
|
|
|
version = "1.0-22";
|
2015-02-25 15:19:44 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
sha256 = "0wk9jmcibd03gspnnr2qvfkw57rg94cwmi0kjpy1mgi05s6vlw1y";
|
|
|
|
rev = "v${version}";
|
|
|
|
repo = "bully";
|
2016-07-22 05:52:40 +01:00
|
|
|
owner = "HorayNarea";
|
2014-01-26 20:42:18 +00:00
|
|
|
};
|
|
|
|
buildInputs = [ openssl libpcap ];
|
|
|
|
|
|
|
|
buildPhase = ''
|
|
|
|
cd src
|
|
|
|
make
|
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
mv bully $out/bin
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2014-11-11 13:20:43 +00:00
|
|
|
description = "Retrieve WPA/WPA2 passphrase from a WPS enabled access point";
|
2015-02-25 15:19:44 +00:00
|
|
|
homepage = https://github.com/Lrs121/bully;
|
2014-01-26 20:42:18 +00:00
|
|
|
maintainers = [ stdenv.lib.maintainers.edwtjo ];
|
|
|
|
license = stdenv.lib.licenses.gpl3;
|
2016-08-02 18:50:55 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2014-01-26 20:42:18 +00:00
|
|
|
};
|
2015-02-25 15:19:44 +00:00
|
|
|
}
|