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