nixpkgs/pkgs/desktops/mate/mate-icon-theme/default.nix

36 lines
944 B
Nix
Raw Normal View History

{ stdenv, fetchurl, pkgconfig, intltool, iconnamingutils, librsvg, gtk3, hicolor-icon-theme }:
2013-08-27 13:01:24 +00:00
2016-05-28 17:43:21 +00:00
stdenv.mkDerivation rec {
pname = "mate-icon-theme";
2019-09-23 10:00:57 +00:00
version = "1.22.2";
2013-08-27 13:01:24 +00:00
src = fetchurl {
url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
2019-09-23 10:00:57 +00:00
sha256 = "0r2bk4flb6kjj97badj2lnml4lfwpl2ym5hkf7r6f7cj8g6pzc4r";
2013-08-27 13:01:24 +00:00
};
2016-05-28 17:43:21 +00:00
nativeBuildInputs = [ pkgconfig intltool iconnamingutils ];
buildInputs = [ librsvg ];
propagatedBuildInputs = [
hicolor-icon-theme
];
dontDropIconThemeCache = true;
2018-03-21 21:01:03 +00:00
2017-08-31 16:21:02 +00: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 13:01:24 +00:00
meta = {
description = "Icon themes from MATE";
homepage = https://mate-desktop.org;
2016-05-28 17:43:21 +00:00
license = stdenv.lib.licenses.lgpl3;
2018-03-21 21:01:03 +00:00
platforms = stdenv.lib.platforms.linux;
2016-05-28 17:43:21 +00:00
maintainers = [ stdenv.lib.maintainers.romildo ];
2013-08-27 13:01:24 +00:00
};
}