From 97b64665f5f9a1b58bdda4a18d60f2115f3d6bf8 Mon Sep 17 00:00:00 2001 From: Gergely Risko Date: Wed, 17 Jul 2013 12:16:47 +0200 Subject: [PATCH] Use fetchgit for vanitygen instead of fetchurl, github changed something --- pkgs/applications/misc/vanitygen/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/applications/misc/vanitygen/default.nix b/pkgs/applications/misc/vanitygen/default.nix index 1aa3f57ecca3..c68767290ee0 100644 --- a/pkgs/applications/misc/vanitygen/default.nix +++ b/pkgs/applications/misc/vanitygen/default.nix @@ -1,13 +1,13 @@ -{ fetchurl, stdenv, openssl, pcre }: +{ fetchgit, stdenv, openssl, pcre }: stdenv.mkDerivation rec { version = "0.21"; name = "vanitygen-${version}"; - src = fetchurl { - name = "vanitygen-${version}.tar.gz"; - url = "https://github.com/samr7/vanitygen/tarball/0.21"; - sha256 = "1lj0gi08lg0pcby5pbpi08ysynzy24qa1n1065112shkpasi0kxv"; + src = fetchgit { + url = "https://github.com/samr7/vanitygen"; + rev = "refs/tags/${version}"; + sha256 = "1vzfv74hhiyrrpvjca8paydx1ashgbgn5plzrx4swyzxy1xkamah"; }; buildInputs = [ openssl pcre ];