epapirus-icon-theme: drop (#417002)

This commit is contained in:
Aleksana
2025-06-22 16:37:24 +08:00
committed by GitHub
3 changed files with 19 additions and 30 deletions
@@ -3,23 +3,21 @@
stdenvNoCC,
fetchFromGitHub,
gtk3,
breeze-icons,
elementary-icon-theme,
kdePackages,
hicolor-icon-theme,
papirus-folders,
color ? null,
withElementary ? false,
gitUpdater,
}:
stdenvNoCC.mkDerivation rec {
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "papirus-icon-theme";
version = "20250501";
src = fetchFromGitHub {
owner = "PapirusDevelopmentTeam";
repo = pname;
rev = version;
repo = "papirus-icon-theme";
tag = finalAttrs.version;
hash = "sha256-KbUjHmNzaj7XKj+MOsPM6zh2JI+HfwuXvItUVAZAClk=";
};
@@ -28,14 +26,13 @@ stdenvNoCC.mkDerivation rec {
papirus-folders
];
propagatedBuildInputs =
[
breeze-icons
hicolor-icon-theme
]
++ lib.optional withElementary [
elementary-icon-theme
];
propagatedBuildInputs = [
kdePackages.breeze-icons
hicolor-icon-theme
];
# breeze-icons propagates qtbase
dontWrapQtApps = true;
dontDropIconThemeCache = true;
@@ -43,12 +40,10 @@ stdenvNoCC.mkDerivation rec {
runHook preInstall
mkdir -p $out/share/icons
mv ${lib.optionalString withElementary "{,e}"}Papirus* $out/share/icons
mv Papirus* $out/share/icons
for theme in $out/share/icons/*; do
${lib.optionalString (
color != null
) "${papirus-folders}/bin/papirus-folders -t $theme -o -C ${color}"}
${lib.optionalString (color != null) "papirus-folders -t $theme -o -C ${color}"}
gtk-update-icon-cache --force $theme
done
@@ -57,15 +52,15 @@ stdenvNoCC.mkDerivation rec {
passthru.updateScript = gitUpdater { };
meta = with lib; {
meta = {
description = "Pixel perfect icon theme for Linux";
homepage = "https://github.com/PapirusDevelopmentTeam/papirus-icon-theme";
license = licenses.gpl3Only;
license = lib.licenses.gpl3Only;
# darwin gives hash mismatch in source, probably because of file names differing only in case
platforms = platforms.linux;
maintainers = with maintainers; [
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [
romildo
moni
];
};
}
})
+1
View File
@@ -624,6 +624,7 @@ mapAliases {
EmptyEpsilon = empty-epsilon; # Added 2024-07-14
enyo-doom = enyo-launcher; # Added 2022-09-09
eolie = throw "'eolie' has been removed due to being unmaintained"; # Added 2025-04-15
epapirus-icon-theme = throw "'epapirus-icon-theme' has been removed because 'papirus-icon-theme' no longer supports building with elementaryOS icon support"; # Added 2025-06-15
epdfview = throw "'epdfview' has been removed due to lack of maintenance upstream. Consider using 'qpdfview' instead"; # Added 2024-10-19
ephemeral = throw "'ephemeral' has been archived upstream since 2022-04-02"; # added 2025-04-12
epoxy = throw "'epoxy' has been renamed to/replaced by 'libepoxy'"; # Converted to throw 2024-10-17
-7
View File
@@ -11538,8 +11538,6 @@ with pkgs;
documentation-highlighter = callPackage ../misc/documentation-highlighter { };
epapirus-icon-theme = papirus-icon-theme.override { withElementary = true; };
moeli = eduli;
emojione = callPackage ../data/fonts/emojione {
@@ -11673,11 +11671,6 @@ with pkgs;
openmoji-black = callPackage ../data/fonts/openmoji { fontFormats = [ "glyf" ]; };
papirus-icon-theme = callPackage ../data/icons/papirus-icon-theme {
inherit (pantheon) elementary-icon-theme;
inherit (plasma5Packages) breeze-icons;
};
papirus-maia-icon-theme = callPackage ../data/icons/papirus-maia-icon-theme {
inherit (plasma5Packages) breeze-icons;
};