From f17f73f8d4634e6c59f51db6e0ad12ec34501d26 Mon Sep 17 00:00:00 2001 From: Aliaksandr Date: Mon, 2 Mar 2026 18:45:48 +0200 Subject: [PATCH] neofetch: drop --- pkgs/by-name/ne/neofetch/package.nix | 78 ---------------------------- pkgs/top-level/aliases.nix | 1 + 2 files changed, 1 insertion(+), 78 deletions(-) delete mode 100644 pkgs/by-name/ne/neofetch/package.nix diff --git a/pkgs/by-name/ne/neofetch/package.nix b/pkgs/by-name/ne/neofetch/package.nix deleted file mode 100644 index c6d0ec72962d..000000000000 --- a/pkgs/by-name/ne/neofetch/package.nix +++ /dev/null @@ -1,78 +0,0 @@ -{ - lib, - stdenvNoCC, - fetchFromGitHub, - bash, - makeWrapper, - pciutils, - x11Support ? stdenvNoCC.hostPlatform.isLinux, - ueberzug, - fetchpatch, -}: - -stdenvNoCC.mkDerivation { - pname = "neofetch"; - version = "unstable-2021-12-10"; - - src = fetchFromGitHub { - owner = "dylanaraps"; - repo = "neofetch"; - rev = "ccd5d9f52609bbdcd5d8fa78c4fdb0f12954125f"; - sha256 = "sha256-9MoX6ykqvd2iB0VrZCfhSyhtztMpBTukeKejfAWYW1w="; - }; - - patches = [ - (fetchpatch { - url = "https://github.com/dylanaraps/neofetch/commit/413c32e55dc16f0360f8e84af2b59fe45505f81b.patch"; - sha256 = "1fapdg9z79f0j3vw7fgi72b54aw4brn42bjsj48brbvg3ixsciph"; - name = "avoid_overwriting_gio_extra_modules_env_var.patch"; - }) - # https://github.com/dylanaraps/neofetch/pull/2114 - (fetchpatch { - url = "https://github.com/dylanaraps/neofetch/commit/c4eb4ec7783bb94cca0dbdc96db45a4d965956d2.patch"; - sha256 = "sha256-F6Q4dUtfmR28VxLbITiLFJ44FjG4T1Cvuz3a0nLisMs="; - name = "update_old_nixos_logo.patch"; - }) - # https://github.com/dylanaraps/neofetch/pull/2157 - (fetchpatch { - url = "https://github.com/dylanaraps/neofetch/commit/de253afcf41bab441dc58d34cae654040cab7451.patch"; - sha256 = "sha256-3i7WnCWNfsRjbenTULmKHft5o/o176imzforNmuoJwo="; - name = "improve_detect_nixos_version.patch"; - }) - ]; - - outputs = [ - "out" - "man" - ]; - - strictDeps = true; - buildInputs = [ bash ]; - nativeBuildInputs = [ makeWrapper ]; - postPatch = '' - patchShebangs --host neofetch - ''; - - postInstall = '' - wrapProgram $out/bin/neofetch \ - --prefix PATH : ${ - lib.makeBinPath ( - lib.optional (!stdenvNoCC.hostPlatform.isOpenBSD) pciutils ++ lib.optional x11Support ueberzug - ) - } - ''; - - makeFlags = [ - "PREFIX=${placeholder "out"}" - "SYSCONFDIR=${placeholder "out"}/etc" - ]; - - meta = { - description = "Fast, highly customizable system info script"; - homepage = "https://github.com/dylanaraps/neofetch"; - license = lib.licenses.mit; - platforms = lib.platforms.all; - maintainers = with lib.maintainers; [ konimex ]; - mainProgram = "neofetch"; - }; -} diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index c23f1000ce40..07b887a6bd00 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -1376,6 +1376,7 @@ mapAliases { nekoray = lib.warnOnInstantiate "nekoray has been renamed to throne" throne; # Added 2025-11-10 neo4j-desktop = throw "neo4j-desktop has been removed as it was out-of-date"; # Added 2025-11-01 neocities-cli = throw "'neocities-cli' has been renamed to/replaced by 'neocities'"; # Converted to throw 2025-10-27 + neofetch = throw "'neofetch' has been removed because it is unmaintained upstream. Consider using 'fastfetch' instead."; # Added 2026-03-02 netbox_4_1 = throw "netbox 4.1 series has been removed as it was EOL"; # Added 2025-10-14 netbsdCross = throw "'netbsdCross' has been renamed to/replaced by 'netbsd'"; # Converted to throw 2025-10-27 netsurf.browser = throw "'netsurf.browser' has been renamed to/replaced by 'netsurf-browser'"; # Converted to throw 2025-10-27