3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/data/icons/numix-icon-theme/default.nix

34 lines
779 B
Nix
Raw Normal View History

2017-12-26 17:58:12 +00:00
{ stdenv, fetchFromGitHub, hicolor_icon_theme }:
2015-03-04 02:15:30 +00:00
stdenv.mkDerivation rec {
2017-12-26 17:58:12 +00:00
version = "17-12-25";
2015-03-04 02:15:30 +00:00
package-name = "numix-icon-theme";
name = "${package-name}-${version}";
2015-03-04 02:15:30 +00:00
src = fetchFromGitHub {
owner = "numixproject";
repo = package-name;
2017-12-26 17:58:12 +00:00
rev = version;
sha256 = "0q3hpq2jc9iwnzzqpb12g1qzjsw4ckhdqkfqf6nirl87r5drkv6j";
2015-03-04 02:15:30 +00:00
};
2017-12-26 17:58:12 +00:00
buildInputs = [ hicolor_icon_theme ];
2015-03-04 02:15:30 +00:00
dontBuild = true;
installPhase = ''
install -dm 755 $out/share/icons
cp -dr --no-preserve='ownership' Numix{,-Light} $out/share/icons/
2015-03-04 02:15:30 +00:00
'';
meta = with stdenv.lib; {
2015-03-04 02:15:30 +00:00
description = "Numix icon theme";
homepage = https://numixproject.org;
license = licenses.gpl3;
platforms = platforms.all;
maintainers = with maintainers; [ romildo jgeerds ];
2015-03-04 02:15:30 +00:00
};
}