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

34 lines
712 B
Nix
Raw Normal View History

2017-10-27 08:03:03 +01:00
{ stdenv, fetchFromGitHub, openssl, libpcap }:
stdenv.mkDerivation rec {
2017-10-27 08:03:03 +01:00
pname = "bully";
2017-10-27 08:03:03 +01:00
version = "1.1";
src = fetchFromGitHub {
2017-10-27 08:03:03 +01:00
sha256 = "1qvbbf72ryd85bp4v62fk93ag2sn25rj7kipgagbv22hnq8yl3zd";
rev = version;
repo = "bully";
2017-10-27 08:03:03 +01:00
owner = "aanarchyy";
};
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";
homepage = "https://github.com/aanarchyy/bully";
2017-10-27 08:03:03 +01:00
maintainers = with maintainers; [ edwtjo ];
license = licenses.gpl3;
platforms = platforms.linux;
};
}