2017-10-27 08:03:03 +01:00
|
|
|
{ stdenv, fetchFromGitHub, openssl, libpcap }:
|
2014-01-26 20:42:18 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-10-27 08:03:03 +01:00
|
|
|
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "bully";
|
2017-10-27 08:03:03 +01:00
|
|
|
version = "1.1";
|
|
|
|
|
2015-02-25 15:19:44 +00:00
|
|
|
src = fetchFromGitHub {
|
2017-10-27 08:03:03 +01:00
|
|
|
sha256 = "1qvbbf72ryd85bp4v62fk93ag2sn25rj7kipgagbv22hnq8yl3zd";
|
|
|
|
rev = version;
|
2015-02-25 15:19:44 +00:00
|
|
|
repo = "bully";
|
2017-10-27 08:03:03 +01: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 08:03:03 +01:00
|
|
|
meta = with stdenv.lib; {
|
2014-11-11 13:20:43 +00:00
|
|
|
description = "Retrieve WPA/WPA2 passphrase from a WPS enabled access point";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/aanarchyy/bully";
|
2017-10-27 08:03:03 +01:00
|
|
|
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
|
|
|
}
|