mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 22:53:42 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
34 lines
710 B
Nix
34 lines
710 B
Nix
{ stdenv, fetchFromGitHub, openssl, libpcap }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "bully";
|
|
version = "1.1";
|
|
|
|
src = fetchFromGitHub {
|
|
sha256 = "1qvbbf72ryd85bp4v62fk93ag2sn25rj7kipgagbv22hnq8yl3zd";
|
|
rev = version;
|
|
repo = "bully";
|
|
owner = "aanarchyy";
|
|
};
|
|
buildInputs = [ openssl libpcap ];
|
|
|
|
buildPhase = ''
|
|
cd src
|
|
make
|
|
'';
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/bin
|
|
mv bully $out/bin
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Retrieve WPA/WPA2 passphrase from a WPS enabled access point";
|
|
homepage = https://github.com/aanarchyy/bully;
|
|
maintainers = with maintainers; [ edwtjo ];
|
|
license = licenses.gpl3;
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|