1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/tools/networking/bully/default.nix

34 lines
720 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
name = "bully-${version}";
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";
2017-10-27 08:03:03 +01:00
homepage = https://github.com/aanarchyy/bully;
maintainers = with maintainers; [ edwtjo ];
license = licenses.gpl3;
platforms = platforms.linux;
};
}