1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 setuptools,
6 requests,
7 amazon-ion,
8 python-dateutil,
9 pytestCheckHook,
10 pytest-mock,
11 requests-mock,
12}:
13buildPythonPackage rec {
14 pname = "kestra";
15 version = "0.23.0";
16 pyproject = true;
17
18 src = fetchFromGitHub {
19 owner = "kestra-io";
20 repo = "libs";
21 tag = "v${version}";
22 hash = "sha256-WtwvOSgAcN+ly0CnkL0Y7lrO4UhSSiXmoAyGXP/hFtE=";
23 };
24
25 sourceRoot = "${src.name}/python";
26
27 build-system = [
28 setuptools
29 ];
30
31 dependencies = [
32 requests
33 amazon-ion
34 python-dateutil
35 ];
36
37 pythonImportsCheck = [
38 "kestra"
39 ];
40
41 nativeCheckInputs = [
42 pytestCheckHook
43 requests-mock
44 pytest-mock
45 ];
46
47 meta = {
48 description = "Infinitely scalable orchestration and scheduling platform, creating, running, scheduling, and monitoring millions of complex pipelines";
49 homepage = "https://github.com/kestra-io/libs";
50 license = lib.licenses.apsl20;
51 maintainers = with lib.maintainers; [ DataHearth ];
52 };
53}