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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

53 lines
1.0 KiB
Nix
Raw Normal View History

2022-07-12 11:56:56 +00:00
{ lib
, stdenv
, fetchurl
, autoreconfHook
, gtk3
, mate
, hicolor-icon-theme
, gitUpdater
2022-07-12 11:56:56 +00:00
}:
2016-05-30 18:30:37 +00:00
stdenv.mkDerivation rec {
pname = "mate-icon-theme-faenza";
2018-02-14 01:22:51 +00:00
version = "1.20.0";
2016-05-30 18:30:37 +00:00
src = fetchurl {
2021-01-15 13:21:58 +00:00
url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
2018-02-14 01:22:51 +00:00
sha256 = "000vr9cnbl2qlysf2gyg1lsjirqdzmwrnh6d3hyrsfc0r2vh4wna";
2016-05-30 18:30:37 +00:00
};
2022-07-12 11:56:56 +00:00
nativeBuildInputs = [
autoreconfHook
gtk3
];
2016-05-30 18:30:37 +00:00
2022-07-12 11:56:56 +00: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;
passthru.updateScript = gitUpdater {
rev-prefix = "v";
url = "https://github.com/mate-desktop-legacy-archive/${pname}";
};
2021-04-02 19:58:16 +00:00
2021-04-22 13:23:43 +00:00
meta = with lib; {
2016-05-30 18:30:37 +00:00
description = "Faenza icon theme from MATE";
homepage = "https://mate-desktop.org";
license = licenses.gpl3Plus;
2021-04-22 13:23:43 +00:00
platforms = platforms.unix;
maintainers = teams.mate.members;
2016-05-30 18:30:37 +00:00
};
}