2018-02-25 03:23:58 +01:00
|
|
|
{ stdenv, fetchFromGitHub, gtk3, hicolor-icon-theme }:
|
2015-03-04 03:15:30 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-02-24 12:31:11 +01:00
|
|
|
name = "${pname}-${version}";
|
|
|
|
pname = "numix-icon-theme";
|
2018-08-20 16:49:11 +02:00
|
|
|
version = "18.07.17";
|
2015-03-04 03:15:30 +01:00
|
|
|
|
2015-07-15 04:16:06 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "numixproject";
|
2018-02-24 12:31:11 +01:00
|
|
|
repo = pname;
|
2017-12-26 18:58:12 +01:00
|
|
|
rev = version;
|
2018-08-20 16:49:11 +02:00
|
|
|
sha256 = "0clh55kmhc52d33dfm2c6h3lg6ddfh8a088ir9lv1camn9kj55bd";
|
2015-03-04 03:15:30 +01:00
|
|
|
};
|
|
|
|
|
2018-02-25 03:23:58 +01:00
|
|
|
nativeBuildInputs = [ gtk3 hicolor-icon-theme ];
|
2015-03-04 03:15:30 +01:00
|
|
|
|
|
|
|
installPhase = ''
|
2018-02-24 12:31:11 +01: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 03:15:30 +01:00
|
|
|
'';
|
2015-07-15 04:16:06 +02:00
|
|
|
|
2015-09-11 14:23:22 +02:00
|
|
|
meta = with stdenv.lib; {
|
2015-03-04 03:15:30 +01:00
|
|
|
description = "Numix icon theme";
|
2018-09-08 00:32:30 +02:00
|
|
|
homepage = https://numixproject.github.io;
|
2015-09-11 14:23:22 +02:00
|
|
|
license = licenses.gpl3;
|
2018-08-21 02:15:07 +02:00
|
|
|
# darwin cannot deal with file names differing only in case
|
|
|
|
platforms = platforms.linux;
|
2015-09-11 14:23:22 +02:00
|
|
|
maintainers = with maintainers; [ romildo jgeerds ];
|
2015-03-04 03:15:30 +01:00
|
|
|
};
|
|
|
|
}
|