Files
nixpkgs/pkgs/development/python-modules/kestra/default.nix
2025-10-11 23:17:14 +02:00

54 lines
1014 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
requests,
amazon-ion,
python-dateutil,
pytestCheckHook,
pytest-mock,
requests-mock,
}:
buildPythonPackage rec {
pname = "kestra";
version = "0.23.0";
pyproject = true;
src = fetchFromGitHub {
owner = "kestra-io";
repo = "libs";
tag = "v${version}";
hash = "sha256-WtwvOSgAcN+ly0CnkL0Y7lrO4UhSSiXmoAyGXP/hFtE=";
};
sourceRoot = "${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";
license = lib.licenses.apsl20;
maintainers = with lib.maintainers; [ DataHearth ];
};
}