Commit 1638b89a authored by Noa Aarts's avatar Noa Aarts Committed by Masum Reza
Browse files

pacup: remove discontinued version

add an alias to the perlPackages pacup
parent a1d54947
Loading
Loading
Loading
Loading

pkgs/by-name/pa/pacup/package.nix

deleted100644 → 0
+0 −46
Original line number Diff line number Diff line
{ 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";
  };
}
+1 −0
Original line number Diff line number Diff line
@@ -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