2019-04-21 16:40:55 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, intltool, iconnamingutils, librsvg, hicolor-icon-theme, gtk3 }:
|
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";
|
2019-04-21 13:02:46 +01:00
|
|
|
version = "1.22.1";
|
2013-08-27 14:01:24 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 13:41:18 +01:00
|
|
|
url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2019-04-21 13:02:46 +01:00
|
|
|
sha256 = "1pn1xbmr4w4mi45nwk1qh18z9rlngmkhp9bw671yn4k6sii8fi3k";
|
2013-08-27 14:01:24 +01:00
|
|
|
};
|
|
|
|
|
2016-05-28 18:43:21 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig intltool iconnamingutils ];
|
|
|
|
|
2018-02-25 02:23:58 +00:00
|
|
|
buildInputs = [ librsvg hicolor-icon-theme ];
|
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
|
|
|
|
2013-08-27 14:01:24 +01:00
|
|
|
meta = {
|
|
|
|
description = "Icon themes from MATE";
|
2019-04-15 00:25:45 +01: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
|
|
|
};
|
|
|
|
}
|