From 2e069ef1f718677ea5240a900ff3d5f95aae11ce Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Sat, 25 Jan 2025 12:20:28 +0100 Subject: [PATCH] rnix-hashes: remove Upstream repo has been archived since 2022. Lockfile is too old for fetchCargoVendor. --- pkgs/by-name/rn/rnix-hashes/package.nix | 39 ------------------------- pkgs/top-level/aliases.nix | 1 + 2 files changed, 1 insertion(+), 39 deletions(-) delete mode 100644 pkgs/by-name/rn/rnix-hashes/package.nix diff --git a/pkgs/by-name/rn/rnix-hashes/package.nix b/pkgs/by-name/rn/rnix-hashes/package.nix deleted file mode 100644 index 12144247e290..000000000000 --- a/pkgs/by-name/rn/rnix-hashes/package.nix +++ /dev/null @@ -1,39 +0,0 @@ -{ - lib, - rustPlatform, - fetchFromGitHub, - fetchpatch, -}: - -rustPlatform.buildRustPackage rec { - pname = "rnix-hashes"; - version = "0.2.0"; - - src = fetchFromGitHub { - owner = "numtide"; - repo = pname; - rev = "v${version}"; - sha256 = "SzHyG5cEjaaPjTkn8puht6snjHMl8DtorOGDjxakJfA="; - }; - - patches = [ - # fix test failure - (fetchpatch { - url = "https://github.com/numtide/rnix-hashes/commit/62ab96cfd1efeade7d98efd9829eae8677bac9cc.patch"; - sha256 = "sha256-oE2fBt20FmO2cEUGivu2mKo3z6rbhVLXSF8SRvhibFs="; - }) - ]; - - cargoHash = "sha256-p6W9NtOKzVViyFq5SQvnIsik7S3mqUqxI/05OiC+P+Q="; - - meta = with lib; { - description = "Nix Hash Converter"; - mainProgram = "rnix-hashes"; - homepage = "https://github.com/numtide/rnix-hashes"; - license = licenses.asl20; - maintainers = with maintainers; [ - rizary - SuperSandro2000 - ]; - }; -} diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index af905e1b5a9c..c936d32bf6e0 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -1194,6 +1194,7 @@ mapAliases { rippled = throw "rippled has been removed as it was broken and had not been updated since 2022"; # Added 2024-11-25 rippled-validator-keys-tool = throw "rippled-validator-keys-tool has been removed as it was broken and had not been updated since 2022"; # Added 2024-11-25 rockbox_utility = rockbox-utility; # Added 2022-03-17 + rnix-hashes = throw "'rnix-hashes' has been removed due to lack of upstream maintenance"; # Added 2025-01-25 rpiboot-unstable = throw "'rpiboot-unstable' has been renamed to/replaced by 'rpiboot'"; # Converted to throw 2024-10-17 rr-unstable = rr; # Added 2022-09-17 rtx = mise; # Added 2024-01-05