2018-02-25 02:23:58 +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
|
|
|
pname = "numix-icon-theme";
|
2019-10-01 12:47:21 +00:00
|
|
|
version = "19.09.20";
|
2015-03-04 02:15:30 +00:00
|
|
|
|
2015-07-15 02:16:06 +00: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;
|
2019-10-01 12:47:21 +00:00
|
|
|
sha256 = "0pn3x0mmsph777lwhg890ck366p31bjl3755h4pv161ym08d4z9w";
|
2015-03-04 02:15:30 +00:00
|
|
|
};
|
|
|
|
|
2019-09-12 14:47:48 +00:00
|
|
|
nativeBuildInputs = [ gtk3 ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
hicolor-icon-theme
|
|
|
|
];
|
|
|
|
|
|
|
|
dontDropIconThemeCache = true;
|
2015-03-04 02:15:30 +00:00
|
|
|
|
|
|
|
installPhase = ''
|
2018-02-24 11:31:11 +00:00
|
|
|
mkdir -p $out/share/icons
|
2019-10-01 12:47:21 +00:00
|
|
|
cp -a Numix{,-Light} $out/share/icons/
|
2018-02-24 11:31:11 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
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 02:16:06 +00:00
|
|
|
|
2015-09-11 12:23:22 +00:00
|
|
|
meta = with stdenv.lib; {
|
2015-03-04 02:15:30 +00:00
|
|
|
description = "Numix icon theme";
|
2018-09-07 22:32:30 +00:00
|
|
|
homepage = https://numixproject.github.io;
|
2015-09-11 12:23:22 +00:00
|
|
|
license = licenses.gpl3;
|
2018-08-21 00:15:07 +00:00
|
|
|
# darwin cannot deal with file names differing only in case
|
|
|
|
platforms = platforms.linux;
|
2019-03-12 22:45:33 +00:00
|
|
|
maintainers = with maintainers; [ romildo ];
|
2015-03-04 02:15:30 +00:00
|
|
|
};
|
|
|
|
}
|