From d3156d3ca2430da544df46a6e075336ed981a1b6 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Wed, 25 Feb 2015 16:19:44 +0100 Subject: [PATCH] bully: switch to working Lrs121 mirror + fetchFromGitHub --- pkgs/tools/networking/bully/default.nix | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/pkgs/tools/networking/bully/default.nix b/pkgs/tools/networking/bully/default.nix index 6c090a7ec1f6..be87f383c0a2 100644 --- a/pkgs/tools/networking/bully/default.nix +++ b/pkgs/tools/networking/bully/default.nix @@ -1,11 +1,13 @@ -{stdenv, fetchurl, openssl, libpcap}: +{stdenv, fetchFromGitHub, openssl, libpcap}: stdenv.mkDerivation rec { name = "bully-${version}"; version = "1.0-22"; - src = fetchurl { - url = "https://github.com/bdpurcell/bully/archive/v${version}.tar.gz"; - sha256 = "72f568f659fdcf70455a17f91f25dde65a53431c67c796517d3d3c4a4703ab68"; + src = fetchFromGitHub { + sha256 = "0wk9jmcibd03gspnnr2qvfkw57rg94cwmi0kjpy1mgi05s6vlw1y"; + rev = "v${version}"; + repo = "bully"; + owner = "Lrs121"; }; buildInputs = [ openssl libpcap ]; @@ -21,8 +23,8 @@ stdenv.mkDerivation rec { meta = { 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 ]; license = stdenv.lib.licenses.gpl3; }; -} \ No newline at end of file +}