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:
parent
828f9ea8cc
commit
90938a3264
@ -1,17 +1,17 @@
|
|||||||
{ stdenv, fetchurl, unzip }:
|
{ stdenv, fetchFromGitHub }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "2c11fbfcee";
|
version = "2c11fbfcee";
|
||||||
|
|
||||||
package-name = "numix-icon-theme";
|
package-name = "numix-icon-theme";
|
||||||
|
|
||||||
name = "${package-name}-20150302";
|
name = "${package-name}-20150302";
|
||||||
|
|
||||||
buildInputs = [ unzip ];
|
src = fetchFromGitHub {
|
||||||
|
owner = "numixproject";
|
||||||
src = fetchurl {
|
repo = package-name;
|
||||||
url = "https://github.com/numixproject/${package-name}/archive/${version}.zip";
|
rev = version;
|
||||||
sha256 = "61dc170b8a70b20a9075f06e1668d6bd8907a6db0ef9e3568c473296d0f351e1";
|
sha256 = "1bjh2j4vqk9s31syv7ig3hwpp5z0n6sx74iz332y0wdz6ngj5x08";
|
||||||
};
|
};
|
||||||
|
|
||||||
dontBuild = true;
|
dontBuild = true;
|
||||||
@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
|
|||||||
install -dm 755 $out/share/icons
|
install -dm 755 $out/share/icons
|
||||||
cp -dr --no-preserve='ownership' Numix{,-Light} $out/share/icons/
|
cp -dr --no-preserve='ownership' Numix{,-Light} $out/share/icons/
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Numix icon theme";
|
description = "Numix icon theme";
|
||||||
homepage = https://numixproject.org;
|
homepage = https://numixproject.org;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user