2020-04-17 16:53:38 -07:00
|
|
|
{ stdenv, fetchFromGitHub, gtk3, gnome-icon-theme, hicolor-icon-theme }:
|
2015-03-03 18:15:30 -08:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-02-24 03:31:11 -08:00
|
|
|
pname = "numix-icon-theme";
|
2020-06-16 11:21:58 -07:00
|
|
|
version = "20.06.07";
|
2015-03-03 18:15:30 -08:00
|
|
|
|
2015-07-14 19:16:06 -07:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "numixproject";
|
2018-02-24 03:31:11 -08:00
|
|
|
repo = pname;
|
2017-12-26 09:58:12 -08:00
|
|
|
rev = version;
|
2020-06-16 11:21:58 -07:00
|
|
|
sha256 = "1yp9parc8ihmai8pswf4qzrqd88qpls87ipq8ylx38yqns7wsn4h";
|
2015-03-03 18:15:30 -08:00
|
|
|
};
|
|
|
|
|
2019-09-12 07:47:48 -07:00
|
|
|
nativeBuildInputs = [ gtk3 ];
|
|
|
|
|
2020-04-17 16:53:38 -07:00
|
|
|
propagatedBuildInputs = [ gnome-icon-theme hicolor-icon-theme ];
|
2019-09-12 07:47:48 -07:00
|
|
|
|
|
|
|
dontDropIconThemeCache = true;
|
2015-03-03 18:15:30 -08:00
|
|
|
|
|
|
|
installPhase = ''
|
2018-02-24 03:31:11 -08:00
|
|
|
mkdir -p $out/share/icons
|
2019-10-01 05:47:21 -07:00
|
|
|
cp -a Numix{,-Light} $out/share/icons/
|
2018-02-24 03:31:11 -08:00
|
|
|
|
|
|
|
for theme in $out/share/icons/*; do
|
|
|
|
gtk-update-icon-cache $theme
|
|
|
|
done
|
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";
|
2020-03-29 22:50:39 -07:00
|
|
|
homepage = "https://numixproject.github.io";
|
2015-09-11 05:23:22 -07:00
|
|
|
license = licenses.gpl3;
|
2018-08-20 17:15:07 -07:00
|
|
|
# darwin cannot deal with file names differing only in case
|
|
|
|
platforms = platforms.linux;
|
2019-03-12 15:45:33 -07:00
|
|
|
maintainers = with maintainers; [ romildo ];
|
2015-03-03 18:15:30 -08:00
|
|
|
};
|
|
|
|
}
|