forked from mirrors/nixpkgs
7b38992812
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.20.1 with grep in /nix/store/sqb3ppyysd75gan41g7r3466gc01sxiz-mate-icon-theme-1.20.1 - directory tree listing: https://gist.github.com/a482def5741d5681816fc5e7c8d14264 - du listing: https://gist.github.com/10c651e4bf3c2f51c245c47429b3bb45
30 lines
860 B
Nix
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.20.1";
|
|
|
|
src = fetchurl {
|
|
url = "http://pub.mate-desktop.org/releases/${mate.getRelease version}/${name}.tar.xz";
|
|
sha256 = "1xzlwmwz1jnksa4rs0smkxhqv3j50y78cf9y5g6aki9iw4dvhvva";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|