1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 poetry-core,
6 pythonOlder,
7 requests,
8}:
9
10buildPythonPackage rec {
11 pname = "pylacus";
12 version = "1.16.1";
13 pyproject = true;
14
15 disabled = pythonOlder "3.8";
16
17 src = fetchFromGitHub {
18 owner = "ail-project";
19 repo = "PyLacus";
20 tag = "v${version}";
21 hash = "sha256-sGTr0M3cintyjXtdABtaw7tvbKz/reibYM3xDUL0kOk=";
22 };
23
24 build-system = [ poetry-core ];
25
26 dependencies = [ requests ];
27
28 # Tests require network access
29 doCheck = false;
30
31 pythonImportsCheck = [ "pylacus" ];
32
33 meta = with lib; {
34 description = "Module to enqueue and query a remote Lacus instance";
35 homepage = "https://github.com/ail-project/PyLacus";
36 changelog = "https://github.com/ail-project/PyLacus/releases/tag/${src.tag}";
37 license = licenses.bsd3;
38 maintainers = with maintainers; [ fab ];
39 };
40}