numix-icon-theme: Don't use fetchurl on dynamically generated GitHub tarballs

Use fetchFromGitHub instead. As a bonus, unzip isn't needed anymore.
This commit is contained in:
Tuomas Tynkkynen 2015-07-15 05:16:06 +03:00
parent 828f9ea8cc
commit 90938a3264

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, unzip }:
{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
version = "2c11fbfcee";
@ -7,11 +7,11 @@ stdenv.mkDerivation rec {
name = "${package-name}-20150302";
buildInputs = [ unzip ];
src = fetchurl {
url = "https://github.com/numixproject/${package-name}/archive/${version}.zip";
sha256 = "61dc170b8a70b20a9075f06e1668d6bd8907a6db0ef9e3568c473296d0f351e1";
src = fetchFromGitHub {
owner = "numixproject";
repo = package-name;
rev = version;
sha256 = "1bjh2j4vqk9s31syv7ig3hwpp5z0n6sx74iz332y0wdz6ngj5x08";
};
dontBuild = true;