2018-02-24 11:31:11 +00:00
|
|
|
{ stdenv, fetchFromGitHub, gtk3, hicolor_icon_theme }:
|
2015-03-04 02:15:30 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-02-24 11:31:11 +00:00
|
|
|
name = "${pname}-${version}";
|
|
|
|
pname = "numix-icon-theme";
|
2017-12-26 17:58:12 +00:00
|
|
|
version = "17-12-25";
|
2015-03-04 02:15:30 +00:00
|
|
|
|
2015-07-15 03:16:06 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "numixproject";
|
2018-02-24 11:31:11 +00:00
|
|
|
repo = pname;
|
2017-12-26 17:58:12 +00:00
|
|
|
rev = version;
|
|
|
|
sha256 = "0q3hpq2jc9iwnzzqpb12g1qzjsw4ckhdqkfqf6nirl87r5drkv6j";
|
2015-03-04 02:15:30 +00:00
|
|
|
};
|
|
|
|
|
2018-02-24 11:31:11 +00:00
|
|
|
nativeBuildInputs = [ gtk3 hicolor_icon_theme ];
|
2015-03-04 02:15:30 +00:00
|
|
|
|
|
|
|
installPhase = ''
|
2018-02-24 11:31:11 +00:00
|
|
|
mkdir -p $out/share/icons
|
|
|
|
mv Numix{,-Light} $out/share/icons
|
|
|
|
'';
|
|
|
|
|
|
|
|
postFixup = ''
|
|
|
|
for theme in $out/share/icons/*; do
|
|
|
|
gtk-update-icon-cache $theme
|
|
|
|
done
|
2015-03-04 02:15:30 +00:00
|
|
|
'';
|
2015-07-15 03:16:06 +01:00
|
|
|
|
2015-09-11 13:23:22 +01:00
|
|
|
meta = with stdenv.lib; {
|
2015-03-04 02:15:30 +00:00
|
|
|
description = "Numix icon theme";
|
|
|
|
homepage = https://numixproject.org;
|
2015-09-11 13:23:22 +01:00
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with maintainers; [ romildo jgeerds ];
|
2015-03-04 02:15:30 +00:00
|
|
|
};
|
|
|
|
}
|