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