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

30 lines
860 B
Nix
Raw Normal View History

{ stdenv, fetchurl, pkgconfig, intltool, iconnamingutils, librsvg, hicolor-icon-theme, gtk3, mate }:
2013-08-27 15:01:24 +02:00
2016-05-28 19:43:21 +02:00
stdenv.mkDerivation rec {
name = "mate-icon-theme-${version}";
2019-01-14 14:43:36 +01:00
version = "1.20.3";
2013-08-27 15:01:24 +02:00
src = fetchurl {
url = "http://pub.mate-desktop.org/releases/${mate.getRelease version}/${name}.tar.xz";
2019-01-14 14:43:36 +01:00
sha256 = "10l58mjc2a69pm7srxvlav2b8b7nbzyvwjrlrk79a3gr6dd1mbk4";
2013-08-27 15:01:24 +02:00
};
2016-05-28 19:43:21 +02:00
nativeBuildInputs = [ pkgconfig intltool iconnamingutils ];
buildInputs = [ librsvg hicolor-icon-theme ];
2018-03-21 22:01:03 +01:00
2017-08-31 18:21:02 +02:00
postInstall = ''
for theme in "$out"/share/icons/*; do
"${gtk3.out}/bin/gtk-update-icon-cache" "$theme"
done
'';
2018-03-21 22:01:03 +01:00
2013-08-27 15:01:24 +02:00
meta = {
description = "Icon themes from MATE";
homepage = http://mate-desktop.org;
2016-05-28 19:43:21 +02:00
license = stdenv.lib.licenses.lgpl3;
2018-03-21 22:01:03 +01:00
platforms = stdenv.lib.platforms.linux;
2016-05-28 19:43:21 +02:00
maintainers = [ stdenv.lib.maintainers.romildo ];
2013-08-27 15:01:24 +02:00
};
}