Files
nixpkgs/pkgs/development/python-modules/kestra/default.nix
T
Martin Weinelt 6d50bfc9b5 python3Packages.kestra: 0.21.0 -> 0.23.0
This commit was automatically generated using update-python-libraries.
2025-08-09 19:00:13 +02:00

54 lines
1.1 KiB
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
requests,
pytestCheckHook,
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
];
preBuild = ''
# Required for building the library (https://github.com/kestra-io/libs/blob/v0.20.0/python/setup.py#L20)
# The path resolve to CWD, so README.md isn't picked in the parent folder
ln -s ../README.md README.md
'';
dependencies = [
requests
];
pythonImportsCheck = [
"kestra"
];
nativeCheckInputs = [
pytestCheckHook
requests-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 ];
};
}