1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 06:31:02 +00:00

bully: switch to working Lrs121 mirror + fetchFromGitHub

This commit is contained in:
Tobias Geerinckx-Rice 2015-02-25 16:19:44 +01:00
parent 04b8bd0d50
commit d3156d3ca2

View file

@ -1,11 +1,13 @@
{stdenv, fetchurl, openssl, libpcap}: {stdenv, fetchFromGitHub, openssl, libpcap}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "bully-${version}"; name = "bully-${version}";
version = "1.0-22"; version = "1.0-22";
src = fetchurl { src = fetchFromGitHub {
url = "https://github.com/bdpurcell/bully/archive/v${version}.tar.gz"; sha256 = "0wk9jmcibd03gspnnr2qvfkw57rg94cwmi0kjpy1mgi05s6vlw1y";
sha256 = "72f568f659fdcf70455a17f91f25dde65a53431c67c796517d3d3c4a4703ab68"; rev = "v${version}";
repo = "bully";
owner = "Lrs121";
}; };
buildInputs = [ openssl libpcap ]; buildInputs = [ openssl libpcap ];
@ -21,8 +23,8 @@ stdenv.mkDerivation rec {
meta = { meta = {
description = "Retrieve WPA/WPA2 passphrase from a WPS enabled access point"; description = "Retrieve WPA/WPA2 passphrase from a WPS enabled access point";
homepage = https://github.com/bdpurcell/bully; homepage = https://github.com/Lrs121/bully;
maintainers = [ stdenv.lib.maintainers.edwtjo ]; maintainers = [ stdenv.lib.maintainers.edwtjo ];
license = stdenv.lib.licenses.gpl3; license = stdenv.lib.licenses.gpl3;
}; };
} }