2017-10-27 07:03:03 +00:00
|
|
|
{ stdenv, fetchFromGitHub, openssl, libpcap }:
|
2014-01-26 20:42:18 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-10-27 07:03:03 +00:00
|
|
|
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "bully";
|
2017-10-27 07:03:03 +00:00
|
|
|
version = "1.1";
|
|
|
|
|
2015-02-25 15:19:44 +00:00
|
|
|
src = fetchFromGitHub {
|
2017-10-27 07:03:03 +00:00
|
|
|
sha256 = "1qvbbf72ryd85bp4v62fk93ag2sn25rj7kipgagbv22hnq8yl3zd";
|
|
|
|
rev = version;
|
2015-02-25 15:19:44 +00:00
|
|
|
repo = "bully";
|
2017-10-27 07:03:03 +00:00
|
|
|
owner = "aanarchyy";
|
2014-01-26 20:42:18 +00:00
|
|
|
};
|
|
|
|
buildInputs = [ openssl libpcap ];
|
|
|
|
|
|
|
|
buildPhase = ''
|
|
|
|
cd src
|
|
|
|
make
|
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
mv bully $out/bin
|
|
|
|
'';
|
|
|
|
|
2017-10-27 07:03:03 +00:00
|
|
|
meta = with stdenv.lib; {
|
2014-11-11 13:20:43 +00:00
|
|
|
description = "Retrieve WPA/WPA2 passphrase from a WPS enabled access point";
|
2017-10-27 07:03:03 +00:00
|
|
|
homepage = https://github.com/aanarchyy/bully;
|
|
|
|
maintainers = with maintainers; [ edwtjo ];
|
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.linux;
|
2014-01-26 20:42:18 +00:00
|
|
|
};
|
2015-02-25 15:19:44 +00:00
|
|
|
}
|