nixpkgs/pkgs/tools/networking/bully/default.nix

34 lines
710 B
Nix
Raw Normal View History

2017-10-27 07:03:03 +00:00
{ stdenv, fetchFromGitHub, openssl, libpcap }:
stdenv.mkDerivation rec {
2017-10-27 07:03:03 +00:00
pname = "bully";
2017-10-27 07:03:03 +00:00
version = "1.1";
src = fetchFromGitHub {
2017-10-27 07:03:03 +00:00
sha256 = "1qvbbf72ryd85bp4v62fk93ag2sn25rj7kipgagbv22hnq8yl3zd";
rev = version;
repo = "bully";
2017-10-27 07:03:03 +00:00
owner = "aanarchyy";
};
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;
};
}