1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
requests,
amazon-ion,
python-dateutil,
pytestCheckHook,
pytest-mock,
requests-mock,
}:
buildPythonPackage (finalAttrs: {
pname = "kestra";
version = "1.2.0";
pyproject = true;
src = fetchFromGitHub {
owner = "kestra-io";
repo = "libs";
tag = "v${finalAttrs.version}";
hash = "sha256-JpePlqwjIalbkVMIIqZ4z6YfkvjyuYUbhXcD2Z6hp/Y=";
};
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 ];
};
})
|