3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/desktops/mate/mate-icon-theme/default.nix
R. RyanTM 70b33f3883 mate.mate-icon-theme: 1.20.1 -> 1.21.0 (#42995)
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/mate-icon-theme/versions.

These checks were done:

- built on NixOS

- 0 of 0 passed binary check by having a zero exit code.
- 0 of 0 passed binary check by having the new version present in output.
- found 1.21.0 with grep in /nix/store/6l3n1r4zfs999z3hk768r0ir72xqghsc-mate-icon-theme-1.21.0
- directory tree listing: https://gist.github.com/0653508a8f0a6c74d6329c9d19c2072c
- du listing: https://gist.github.com/85fd2cc12b0cb6c3fe4e84a742736952
2018-07-09 00:01:20 +02:00

30 lines
860 B
Nix

{ stdenv, fetchurl, pkgconfig, intltool, iconnamingutils, librsvg, hicolor-icon-theme, gtk3, mate }:
stdenv.mkDerivation rec {
name = "mate-icon-theme-${version}";
version = "1.21.0";
src = fetchurl {
url = "http://pub.mate-desktop.org/releases/${mate.getRelease version}/${name}.tar.xz";
sha256 = "170vir6h9sgsibd4kfq5qgz542qrw94q3qakqry77clls5wj6b62";
};
nativeBuildInputs = [ pkgconfig intltool iconnamingutils ];
buildInputs = [ librsvg hicolor-icon-theme ];
postInstall = ''
for theme in "$out"/share/icons/*; do
"${gtk3.out}/bin/gtk-update-icon-cache" "$theme"
done
'';
meta = {
description = "Icon themes from MATE";
homepage = http://mate-desktop.org;
license = stdenv.lib.licenses.lgpl3;
platforms = stdenv.lib.platforms.linux;
maintainers = [ stdenv.lib.maintainers.romildo ];
};
}