Files
nixpkgs/pkgs/development/python-modules/lacuscore/default.nix

66 lines
1.1 KiB
Nix

{
lib,
async-timeout,
buildPythonPackage,
defang,
dnspython,
fetchFromGitHub,
playwrightcapture,
poetry-core,
pydantic,
pythonOlder,
redis,
requests,
sphinx,
ua-parser,
}:
buildPythonPackage rec {
pname = "lacuscore";
version = "1.10.8";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "ail-project";
repo = "LacusCore";
rev = "refs/tags/v${version}";
hash = "sha256-LErxBhTajXHPDC2oZqygKRs6MLp6PLq4XoaluCeadcQ=";
};
pythonRelaxDeps = [
"pydantic"
"redis"
"requests"
];
build-system = [ poetry-core ];
dependencies = [
async-timeout
defang
dnspython
playwrightcapture
pydantic
redis
requests
sphinx
ua-parser
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "lacuscore" ];
meta = with lib; {
description = "Modulable part of Lacus";
homepage = "https://github.com/ail-project/LacusCore";
changelog = "https://github.com/ail-project/LacusCore/releases/tag/v${version}";
license = licenses.bsd3;
maintainers = with maintainers; [ fab ];
};
}