From 1638b89a793167c5a9c4bbdf1fc65d4daafae9dc Mon Sep 17 00:00:00 2001 From: Noa Aarts Date: Tue, 21 Jan 2025 21:20:44 +0100 Subject: [PATCH] pacup: remove discontinued version add an alias to the perlPackages pacup --- pkgs/by-name/pa/pacup/package.nix | 46 ------------------------------- pkgs/top-level/aliases.nix | 1 + 2 files changed, 1 insertion(+), 46 deletions(-) delete mode 100644 pkgs/by-name/pa/pacup/package.nix diff --git a/pkgs/by-name/pa/pacup/package.nix b/pkgs/by-name/pa/pacup/package.nix deleted file mode 100644 index c06874e8a325..000000000000 --- a/pkgs/by-name/pa/pacup/package.nix +++ /dev/null @@ -1,46 +0,0 @@ -{ lib -, fetchFromGitHub -, python3 -}: - -python3.pkgs.buildPythonApplication rec { - pname = "pacup"; - version = "2.0.0"; - format = "pyproject"; - - src = fetchFromGitHub { - owner = "pacstall"; - repo = "pacup"; - tag = version; - hash = "sha256-ItO38QyxNHftKPQZAPO7596ddBfX0a1nfVVqgx7BfwI="; - }; - - postPatch = '' - substituteInPlace pyproject.toml \ - --replace 'httpx = ">=0.24,<0.25"' 'httpx = "*"' - ''; - - nativeBuildInputs = with python3.pkgs; [ - poetry-core - ]; - - propagatedBuildInputs = with python3.pkgs; [ - httpx - rich - typer - packaging - ]; - - meta = with lib; { - description = "Help maintainers update pacscripts"; - longDescription = '' - Pacup (Pacscript Updater) is a maintainer helper tool to help maintainers update their pacscripts. - It semi-automates the tedious task of updating pacscripts, and aims to make it a fun process for the maintainer! - ''; - homepage = "https://github.com/pacstall/pacup"; - changelog = "https://github.com/pacstall/pacup/releases/tag/${version}"; - license = licenses.gpl3Plus; - maintainers = with maintainers; [ zahrun ]; - mainProgram = "pacup"; - }; -} diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index 23850496a5a5..8ccf7791d8c6 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -1142,6 +1142,7 @@ mapAliases { PageEdit = pageedit; # Added 2024-01-21 p2pvc = throw "p2pvc has been removed as it is unmaintained upstream and depends on OpenCV 2"; # Added 2024-08-20 packet-cli = throw "'packet-cli' has been renamed to/replaced by 'metal-cli'"; # Converted to throw 2024-10-17 + inherit (perlPackages) pacup; panopticon = throw "'panopticon' has been removed because it is unmaintained upstream"; # Added 2025-01-25 paperoni = throw "paperoni has been removed, because it is unmaintained"; # Added 2024-07-14 paperless = throw "'paperless' has been renamed to/replaced by 'paperless-ngx'"; # Converted to throw 2024-10-17