8f76b08d5b
Diff: https://github.com/ail-project/LacusCore/compare/refs/tags/v1.9.1...v1.9.2 Changelog: https://github.com/ail-project/LacusCore/releases/tag/v1.9.2
66 lines
1.1 KiB
Nix
66 lines
1.1 KiB
Nix
{ lib
|
|
, async-timeout
|
|
, buildPythonPackage
|
|
, defang
|
|
, dnspython
|
|
, fetchFromGitHub
|
|
, playwrightcapture
|
|
, poetry-core
|
|
, pythonOlder
|
|
, redis
|
|
, requests
|
|
, pythonRelaxDepsHook
|
|
, sphinx
|
|
, ua-parser
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "lacuscore";
|
|
version = "1.9.2";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ail-project";
|
|
repo = "LacusCore";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-vfhRbbutNuZW/oI/eCJUXydCn47ThOlWRz2NJJrE3Tw=";
|
|
};
|
|
|
|
pythonRelaxDeps = [
|
|
"redis"
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
poetry-core
|
|
pythonRelaxDepsHook
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
async-timeout
|
|
defang
|
|
dnspython
|
|
playwrightcapture
|
|
redis
|
|
requests
|
|
sphinx
|
|
ua-parser
|
|
];
|
|
|
|
# Module has no tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [
|
|
"lacuscore"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "The 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 ];
|
|
};
|
|
}
|