2017-12-26 09:58:12 -08:00
|
|
|
{ stdenv, fetchFromGitHub, hicolor_icon_theme }:
|
2015-03-03 18:15:30 -08:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-12-26 09:58:12 -08:00
|
|
|
version = "17-12-25";
|
2015-03-03 18:15:30 -08:00
|
|
|
|
|
|
|
package-name = "numix-icon-theme";
|
2015-07-14 19:16:06 -07:00
|
|
|
|
2016-05-20 10:58:44 -07:00
|
|
|
name = "${package-name}-${version}";
|
2015-03-03 18:15:30 -08:00
|
|
|
|
2015-07-14 19:16:06 -07:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "numixproject";
|
|
|
|
repo = package-name;
|
2017-12-26 09:58:12 -08:00
|
|
|
rev = version;
|
|
|
|
sha256 = "0q3hpq2jc9iwnzzqpb12g1qzjsw4ckhdqkfqf6nirl87r5drkv6j";
|
2015-03-03 18:15:30 -08:00
|
|
|
};
|
|
|
|
|
2017-12-26 09:58:12 -08:00
|
|
|
buildInputs = [ hicolor_icon_theme ];
|
|
|
|
|
2015-03-03 18:15:30 -08:00
|
|
|
dontBuild = true;
|
|
|
|
|
|
|
|
installPhase = ''
|
2015-03-04 23:41:38 -08:00
|
|
|
install -dm 755 $out/share/icons
|
|
|
|
cp -dr --no-preserve='ownership' Numix{,-Light} $out/share/icons/
|
2015-03-03 18:15:30 -08:00
|
|
|
'';
|
2015-07-14 19:16:06 -07:00
|
|
|
|
2015-09-11 05:23:22 -07:00
|
|
|
meta = with stdenv.lib; {
|
2015-03-03 18:15:30 -08:00
|
|
|
description = "Numix icon theme";
|
|
|
|
homepage = https://numixproject.org;
|
2015-09-11 05:23:22 -07:00
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with maintainers; [ romildo jgeerds ];
|
2015-03-03 18:15:30 -08:00
|
|
|
};
|
|
|
|
}
|