nixpkgs/pkgs/data/icons/numix-icon-theme/default.nix
Tuomas Tynkkynen 90938a3264 numix-icon-theme: Don't use fetchurl on dynamically generated GitHub tarballs
Use fetchFromGitHub instead. As a bonus, unzip isn't needed anymore.
2015-07-15 05:16:06 +03:00

31 lines
666 B
Nix

{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
version = "2c11fbfcee";
package-name = "numix-icon-theme";
name = "${package-name}-20150302";
src = fetchFromGitHub {
owner = "numixproject";
repo = package-name;
rev = version;
sha256 = "1bjh2j4vqk9s31syv7ig3hwpp5z0n6sx74iz332y0wdz6ngj5x08";
};
dontBuild = true;
installPhase = ''
install -dm 755 $out/share/icons
cp -dr --no-preserve='ownership' Numix{,-Light} $out/share/icons/
'';
meta = {
description = "Numix icon theme";
homepage = https://numixproject.org;
license = stdenv.lib.licenses.gpl3;
platforms = stdenv.lib.platforms.all;
};
}