3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #224420 from Zahrun/add/pacup

This commit is contained in:
Sandro 2023-06-14 15:55:56 +02:00 committed by GitHub
commit 8a4f48d005
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 39 additions and 0 deletions

View file

@ -0,0 +1,37 @@
{ lib
, fetchFromGitHub
, python3
, buildPythonApplication
, poetry-core
, httpx
, rich
, typer
, packaging
}:
buildPythonApplication rec {
name = "pacup";
version = "1.1.0";
format = "pyproject";
src = fetchFromGitHub {
owner = "pacstall";
repo = name;
rev = version;
hash = "sha256-Hl/Gq/cZz4RGYKTuyDlrhATAUYEzKEuYIm0JdToN/ZY=";
};
nativeBuildInputs = with python3; [ poetry-core ];
propagatedBuildInputs = with python3; [ 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";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ zahrun ];
};
}

View file

@ -903,6 +903,8 @@ with pkgs;
pacproxy = callPackage ../tools/networking/pacproxy { };
pacup = python3Packages.callPackage ../tools/package-management/pacup { };
perseus-cli = callPackage ../development/tools/perseus-cli {
inherit (darwin.apple_sdk.frameworks) CoreServices;
};