matcha-gtk-theme: remove

Depends on gtk-engine-murrine, which is being removed from nixpkgs.
This commit is contained in:
Martin Weinelt
2026-07-22 18:45:15 +02:00
parent 3e499be1de
commit f8afb85283
2 changed files with 1 additions and 80 deletions

View File

@@ -1,80 +0,0 @@
{
lib,
stdenvNoCC,
fetchFromGitHub,
gdk-pixbuf,
gtk-engine-murrine,
jdupes,
librsvg,
gitUpdater,
colorVariants ? [ ], # default: all
themeVariants ? [ ], # default: blue
}:
let
pname = "matcha-gtk-theme";
in
lib.checkListOfEnum "${pname}: color variants" [ "standard" "light" "dark" ] colorVariants
lib.checkListOfEnum
"${pname}: theme variants"
[ "aliz" "azul" "sea" "pueril" "all" ]
themeVariants
stdenvNoCC.mkDerivation
rec {
inherit pname;
version = "2025-04-11";
src = fetchFromGitHub {
owner = "vinceliuice";
repo = "matcha-gtk-theme";
rev = version;
sha256 = "sha256-vPAGEa3anWAynEg2AYme4qpHJdLDKk2CmL5iQ1mBYgM=";
};
nativeBuildInputs = [
jdupes
];
buildInputs = [
gdk-pixbuf
librsvg
];
propagatedUserEnvPkgs = [
gtk-engine-murrine
];
postPatch = ''
patchShebangs install.sh
'';
installPhase = ''
runHook preInstall
mkdir -p $out/share/themes
name= ./install.sh \
${lib.optionalString (colorVariants != [ ]) "--color " + toString colorVariants} \
${lib.optionalString (themeVariants != [ ]) "--theme " + toString themeVariants} \
--dest $out/share/themes
mkdir -p $out/share/doc/matcha-gtk-theme
cp -a src/extra/firefox $out/share/doc/matcha-gtk-theme
jdupes --quiet --link-soft --recurse $out/share
runHook postInstall
'';
passthru.updateScript = gitUpdater { };
meta = {
description = "Stylish flat Design theme for GTK based desktop environments";
homepage = "https://vinceliuice.github.io/theme-matcha";
license = lib.licenses.gpl3Only;
platforms = lib.platforms.unix;
maintainers = [ lib.maintainers.romildo ];
};
}

View File

@@ -1556,6 +1556,7 @@ mapAliases {
marwaita-yellow = throw "'marwaita-yellow' has been removed because it depended on 'gtk-engine-murrine', which was removed because it was unmaintained upstream and depended on GTK 2."; # Added 2026-07-22
massif-visualizer = throw "'massif-visualizer' has been removed due to outdated KF5 dependencies."; # Added 2026-05-01
mastodon-bot = throw "'mastodon-bot' has been removed because it was archived by upstream in 2021."; # Added 2025-11-07
matcha-gtk-theme = throw "'matcha-gtk-theme' has been removed because it depended on 'gtk-engine-murrine', which was removed because it was unmaintained upstream and depended on GTK 2."; # Added 2026-07-22
material-kwin-decoration = throw "'material-kwin-decoration' has been removed, as it is only compatible with Plasma 5, which is EOL"; # Added 2025-08-20
mathlibtools = throw "mathlibtools has been removed as it was archived upstream in 2023"; # Added 2025-07-09
matomo_5 = throw "'matomo_5' has been renamed to/replaced by 'matomo'"; # Converted to throw 2025-10-27