2018-02-24 18:23:58 -08:00
|
|
|
{ stdenv, fetchFromGitHub, gtk3, hicolor-icon-theme }:
|
2015-03-03 18:15:30 -08:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-02-24 03:31:11 -08:00
|
|
|
name = "${pname}-${version}";
|
|
|
|
pname = "numix-icon-theme";
|
2018-08-20 07:49:11 -07:00
|
|
|
version = "18.07.17";
|
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;
|
2018-08-20 07:49:11 -07:00
|
|
|
sha256 = "0clh55kmhc52d33dfm2c6h3lg6ddfh8a088ir9lv1camn9kj55bd";
|
2015-03-03 18:15:30 -08:00
|
|
|
};
|
|
|
|
|
2018-02-24 18:23:58 -08:00
|
|
|
nativeBuildInputs = [ gtk3 hicolor-icon-theme ];
|
2015-03-03 18:15:30 -08:00
|
|
|
|
|
|
|
installPhase = ''
|
2018-02-24 03:31:11 -08: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-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
|
|
|
};
|
|
|
|
}
|