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

30 lines
863 B
Nix
Raw Normal View History

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