2025-06-10 11:49:58 +00:00

41 lines
863 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
pythonOlder,
requests,
}:
buildPythonPackage rec {
pname = "pylacus";
version = "1.15.1";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "ail-project";
repo = "PyLacus";
tag = "v${version}";
hash = "sha256-POxLeMjGMG/QKSS7HWpCtP/GlqcTnUizJRzU+IUdnV0=";
};
build-system = [ poetry-core ];
dependencies = [ requests ];
# Tests require network access
doCheck = false;
pythonImportsCheck = [ "pylacus" ];
meta = with lib; {
description = "Module to enqueue and query a remote Lacus instance";
homepage = "https://github.com/ail-project/PyLacus";
changelog = "https://github.com/ail-project/PyLacus/releases/tag/${src.tag}";
license = licenses.bsd3;
maintainers = with maintainers; [ fab ];
};
}