about summary refs log tree commit diff
path: root/pkgs/tools/package-management/pacup/default.nix
blob: 288f3affe72cb871f827c22d7d5d2a2c3d8309ff (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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 ];
  };
}