From ba23f63886f5778b8cd5b0637199ea369559754b Mon Sep 17 00:00:00 2001 From: Kenichi Kamiya Date: Tue, 4 Nov 2025 00:54:28 +0900 Subject: [PATCH] artichoke: drop The upstream repository was archived in 2025-11. https://web.archive.org/web/20251103161827/https://github.com/artichoke/artichoke --- pkgs/by-name/ar/artichoke/package.nix | 58 --------------------------- pkgs/top-level/aliases.nix | 1 + 2 files changed, 1 insertion(+), 58 deletions(-) delete mode 100644 pkgs/by-name/ar/artichoke/package.nix diff --git a/pkgs/by-name/ar/artichoke/package.nix b/pkgs/by-name/ar/artichoke/package.nix deleted file mode 100644 index d4d1c5e90c95..000000000000 --- a/pkgs/by-name/ar/artichoke/package.nix +++ /dev/null @@ -1,58 +0,0 @@ -{ - lib, - rustPlatform, - fetchFromGitHub, - llvmPackages, - _experimental-update-script-combinators, - unstableGitUpdater, - nix-update-script, -}: - -rustPlatform.buildRustPackage { - pname = "artichoke"; - version = "0-unstable-2025-09-07"; - - src = fetchFromGitHub { - owner = "artichoke"; - repo = "artichoke"; - rev = "8227e6dbb298631c67b4ca2cc4c911d0ef87f38a"; - hash = "sha256-Pyffs4QB/SkayRwlMmIVagNiamznJp4Dt3nqRDJYfqU="; - }; - - cargoHash = "sha256-JD+qt0pu5wxIuLa3Bd9eadQFE7dyKzqxsAKPebG7+Zg="; - - nativeBuildInputs = [ - rustPlatform.bindgenHook - ]; - - doInstallCheck = true; - installCheckPhase = '' - runHook preInstallCheck - - stdout="$("$out/bin/artichoke" -e 'puts "Hello World!"')" - [[ "$stdout" == 'Hello World!' ]] - - runHook postInstallCheck - ''; - - passthru = { - updateScript = _experimental-update-script-combinators.sequence [ - (unstableGitUpdater { }) - (nix-update-script { - # Updating `cargoHash` - extraArgs = [ "--version=skip" ]; - }) - ]; - }; - - meta = { - description = "Ruby implementation written in Rust and Ruby"; - homepage = "https://www.artichokeruby.org/"; - license = lib.licenses.mit; - maintainers = with lib.maintainers; [ - kachick - ]; - mainProgram = "artichoke"; - platforms = with lib.platforms; unix ++ windows; - }; -} diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index ba2b7755c455..92183487e2f5 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -303,6 +303,7 @@ mapAliases { argo = throw "'argo' has been renamed to/replaced by 'argo-workflows'"; # Converted to throw 2025-10-27 aria = throw "'aria' has been renamed to/replaced by 'aria2'"; # Converted to throw 2025-10-27 arrayfire = throw "arrayfire was removed due to numerous vulnerabilities in freeimage"; # Added 2025-10-23 + artichoke = throw "artichoke has been removed due to being archived upstream."; # Added 2025-11-04 artim-dark = aritim-dark; # Added 2025-07-27 aseprite-unfree = throw "'aseprite-unfree' has been renamed to/replaced by 'aseprite'"; # Converted to throw 2025-10-27 asitop = throw "'asitop' has been renamed to/replaced by 'macpm'"; # Converted to throw 2025-10-27