2020-02-14 06:09:49 -08:00
|
|
|
{ stdenv, fetchurl, pkgconfig, gettext, iconnamingutils, librsvg, gtk3, hicolor-icon-theme }:
|
2013-08-27 06:01:24 -07:00
|
|
|
|
2016-05-28 10:43:21 -07:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "mate-icon-theme";
|
2020-02-12 09:51:20 -08:00
|
|
|
version = "1.24.0";
|
2013-08-27 06:01:24 -07:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-12-13 14:37:37 -08:00
|
|
|
url = "https://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2020-02-12 09:51:20 -08:00
|
|
|
sha256 = "0a2lz61ivwwcdznmwlmgjr6ipr9sdl5g2czbagnpxkwz8f3m77na";
|
2013-08-27 06:01:24 -07:00
|
|
|
};
|
|
|
|
|
2020-02-14 06:09:49 -08:00
|
|
|
nativeBuildInputs = [ pkgconfig gettext iconnamingutils ];
|
2016-05-28 10:43:21 -07:00
|
|
|
|
2019-09-12 07:47:48 -07:00
|
|
|
buildInputs = [ librsvg ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
hicolor-icon-theme
|
|
|
|
];
|
|
|
|
|
|
|
|
dontDropIconThemeCache = true;
|
2018-03-21 14:01:03 -07:00
|
|
|
|
2017-08-31 09:21:02 -07:00
|
|
|
postInstall = ''
|
|
|
|
for theme in "$out"/share/icons/*; do
|
|
|
|
"${gtk3.out}/bin/gtk-update-icon-cache" "$theme"
|
|
|
|
done
|
|
|
|
'';
|
2018-03-21 14:01:03 -07:00
|
|
|
|
2020-02-14 13:52:51 -08:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2013-08-27 06:01:24 -07:00
|
|
|
meta = {
|
|
|
|
description = "Icon themes from MATE";
|
2020-02-12 09:51:20 -08:00
|
|
|
homepage = "https://mate-desktop.org";
|
2016-05-28 10:43:21 -07:00
|
|
|
license = stdenv.lib.licenses.lgpl3;
|
2018-03-21 14:01:03 -07:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2016-05-28 10:43:21 -07:00
|
|
|
maintainers = [ stdenv.lib.maintainers.romildo ];
|
2013-08-27 06:01:24 -07:00
|
|
|
};
|
|
|
|
}
|