1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-22 23:10:02 +00:00
nixpkgs/pkgs/desktops/mate/mate-icon-theme-faenza/default.nix

34 lines
919 B
Nix
Raw Normal View History

{ stdenv, fetchurl, autoreconfHook, gtk3, mate, hicolor-icon-theme }:
2016-05-30 19:30:37 +01:00
stdenv.mkDerivation rec {
pname = "mate-icon-theme-faenza";
2018-02-14 01:22:51 +00:00
version = "1.20.0";
2016-05-30 19:30:37 +01:00
src = fetchurl {
url = "https://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
2018-02-14 01:22:51 +00:00
sha256 = "000vr9cnbl2qlysf2gyg1lsjirqdzmwrnh6d3hyrsfc0r2vh4wna";
2016-05-30 19:30:37 +01:00
};
nativeBuildInputs = [ autoreconfHook gtk3 ];
2016-05-30 19:30:37 +01:00
propagatedBuildInputs = [ mate.mate-icon-theme hicolor-icon-theme ];
dontDropIconThemeCache = true;
postInstall = ''
for theme in "$out"/share/icons/*; do
gtk-update-icon-cache "$theme"
done
'';
2020-02-14 21:52:51 +00:00
enableParallelBuilding = true;
2016-05-30 19:30:37 +01:00
meta = {
description = "Faenza icon theme from MATE";
homepage = "https://mate-desktop.org";
2016-05-30 19:30:37 +01:00
license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.unix;
maintainers = [ stdenv.lib.maintainers.romildo ];
};
}