1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 07:00:43 +00:00

bully: 1.1 -> 1.4-00

New maintained upstream.
This commit is contained in:
Peter Hoeg 2020-06-24 08:49:07 +08:00
parent 4cdd64d907
commit 772ce9d870
2 changed files with 15 additions and 18 deletions

View file

@ -1,33 +1,32 @@
{ stdenv, fetchFromGitHub, openssl, libpcap }:
{ stdenv, fetchFromGitHub, libpcap }:
stdenv.mkDerivation rec {
pname = "bully";
version = "1.1";
version = "1.4-00";
src = fetchFromGitHub {
sha256 = "1qvbbf72ryd85bp4v62fk93ag2sn25rj7kipgagbv22hnq8yl3zd";
rev = version;
owner = "kimocoder";
repo = "bully";
owner = "aanarchyy";
rev = version;
sha256 = "1n2754a5z44g414a0hj3cmi9q5lwnzyvmvzskrj2nci8c8m2kgnf";
};
buildInputs = [ openssl libpcap ];
buildPhase = ''
cd src
make
'';
buildInputs = [ libpcap ];
enableParallelBuilding = true;
sourceRoot = "./source/src";
installPhase = ''
mkdir -p $out/bin
mv bully $out/bin
install -Dm555 -t $out/bin bully
install -Dm444 -t $out/share/doc/${pname} ../*.md
'';
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 ];
homepage = "https://github.com/kimocoder/bully";
license = licenses.gpl3;
maintainers = with maintainers; [ edwtjo ];
platforms = platforms.linux;
};
}

View file

@ -5934,9 +5934,7 @@ in
brickd = callPackage ../servers/brickd { };
bully = callPackage ../tools/networking/bully {
openssl = openssl_1_0_2;
};
bully = callPackage ../tools/networking/bully { };
pcapc = callPackage ../tools/networking/pcapc { };