619d6dcc77
GitOrigin-RevId: 870959c7fb3a42af1863bed9e1756086a74eb649
39 lines
1 KiB
Nix
39 lines
1 KiB
Nix
{ lib, stdenv, fetchurl, pkg-config, gettext, iconnamingutils, librsvg, gtk3, hicolor-icon-theme, mateUpdateScript }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "mate-icon-theme";
|
|
version = "1.26.0";
|
|
|
|
src = fetchurl {
|
|
url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
|
sha256 = "0nha555fhhn0j5wmzmdc7bh93ckzwwdm8mwmzma5whkzslv09xa1";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config gettext iconnamingutils ];
|
|
|
|
buildInputs = [ librsvg ];
|
|
|
|
propagatedBuildInputs = [
|
|
hicolor-icon-theme
|
|
];
|
|
|
|
dontDropIconThemeCache = true;
|
|
|
|
postInstall = ''
|
|
for theme in "$out"/share/icons/*; do
|
|
"${gtk3.out}/bin/gtk-update-icon-cache" "$theme"
|
|
done
|
|
'';
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
passthru.updateScript = mateUpdateScript { inherit pname version; };
|
|
|
|
meta = {
|
|
description = "Icon themes from MATE";
|
|
homepage = "https://mate-desktop.org";
|
|
license = lib.licenses.lgpl3Plus;
|
|
platforms = lib.platforms.linux;
|
|
maintainers = [ lib.maintainers.romildo ];
|
|
};
|
|
}
|