btrbk: add mainProgram (#356350)
[NixPkgs.git] / pkgs / by-name / la / lacus / package.nix
blob4f1e42f0e70e325375bd473143be3dad0c0ea5b5
2   lib,
3   fetchFromGitHub,
4   python3,
5 }:
7 python3.pkgs.buildPythonApplication rec {
8   pname = "lacus";
9   version = "1.10.0";
10   pyproject = true;
12   src = fetchFromGitHub {
13     owner = "ail-project";
14     repo = "lacus";
15     rev = "refs/tags/v${version}";
16     hash = "sha256-5KddApwaN4t+QRaQTqIXuYStuPxKq3v6pRknBusAcbM=";
17   };
19   pythonRelaxDeps = [
20     "gunicorn"
21     "psutil"
22     "redis"
23   ];
25   build-system = with python3.pkgs; [
26     poetry-core
27   ];
29   dependencies = with python3.pkgs; [
30     flask-restx
31     gunicorn
32     lacuscore
33     psutil
34     redis
35     rich
36     werkzeug
37   ];
39   meta = with lib; {
40     description = "Capturing system using playwright";
41     homepage = "https://github.com/ail-project/lacus";
42     changelog = "https://github.com/ail-project/lacus/releases/tag/v${version}";
43     license = licenses.bsd3;
44     maintainers = with maintainers; [ fab ];
45   };