nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 fetchFromGitHub,
4 python3,
5}:
6
7python3.pkgs.buildPythonApplication rec {
8 pname = "lacus";
9 version = "1.14.0";
10 pyproject = true;
11
12 src = fetchFromGitHub {
13 owner = "ail-project";
14 repo = "lacus";
15 tag = "v${version}";
16 hash = "sha256-fk6NfBdUGGyOhVOJcGCRNldcw4JRHFr7p+tFuccYp7Y=";
17 };
18
19 pythonRelaxDeps = [
20 "gunicorn"
21 "psutil"
22 "redis"
23 ];
24
25 build-system = with python3.pkgs; [
26 poetry-core
27 ];
28
29 dependencies = with python3.pkgs; [
30 flask-restx
31 gunicorn
32 lacuscore
33 psutil
34 redis
35 rich
36 werkzeug
37 ];
38
39 meta = {
40 description = "Capturing system using playwright";
41 homepage = "https://github.com/ail-project/lacus";
42 changelog = "https://github.com/ail-project/lacus/releases/tag/${src.tag}";
43 license = lib.licenses.bsd3;
44 maintainers = with lib.maintainers; [ fab ];
45 };
46}