Files
2026-05-14 00:20:29 +00:00

52 lines
1.1 KiB
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
requests,
amazon-ion,
python-dateutil,
pytestCheckHook,
pytest-mock,
requests-mock,
}:
buildPythonPackage (finalAttrs: {
pname = "kestra";
version = "1.3.0";
pyproject = true;
src = fetchFromGitHub {
owner = "kestra-io";
repo = "libs";
tag = "v${finalAttrs.version}";
hash = "sha256-Z03wLcu0tDe0UJgY9bLX+ozACpgGBPg99W67m3MsStc=";
};
sourceRoot = "${finalAttrs.src.name}/python";
build-system = [ setuptools ];
dependencies = [
requests
amazon-ion
python-dateutil
];
pythonImportsCheck = [ "kestra" ];
nativeCheckInputs = [
pytestCheckHook
requests-mock
pytest-mock
];
meta = {
description = "Infinitely scalable orchestration and scheduling platform, creating, running, scheduling, and monitoring millions of complex pipelines";
homepage = "https://github.com/kestra-io/libs";
changelog = "https://github.com/kestra-io/libs/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.apsl20;
maintainers = with lib.maintainers; [ DataHearth ];
};
})