From 77170f152a5d02de0eff422a0b3c7445317da8c0 Mon Sep 17 00:00:00 2001 From: DataHearth Date: Mon, 16 Dec 2024 16:10:43 +0100 Subject: [PATCH] python3Packages.kestra: init at 0.20.0 --- .../python-modules/kestra/default.nix | 36 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 38 insertions(+) create mode 100644 pkgs/development/python-modules/kestra/default.nix diff --git a/pkgs/development/python-modules/kestra/default.nix b/pkgs/development/python-modules/kestra/default.nix new file mode 100644 index 00000000000000..54a8ba2d18858d --- /dev/null +++ b/pkgs/development/python-modules/kestra/default.nix @@ -0,0 +1,36 @@ +{ + lib, + buildPythonPackage, + fetchPypi, + setuptools, + requests, +}: +buildPythonPackage rec { + pname = "kestra"; + version = "0.20.0"; + pyproject = true; + + src = fetchPypi { + inherit pname version; + hash = "sha256-j2ASwbleCsMrqhefhdBwXfp6JA+tBr1CX/nIKO4sWZI="; + }; + + build-system = [ + setuptools + ]; + + dependencies = [ + requests + ]; + + pythonImportsCheck = [ + "kestra" + ]; + + meta = { + description = "Kestra is an 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 ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 639d37ce35753b..6988aa16a8a66f 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -6925,6 +6925,8 @@ self: super: with self; { kerberos = callPackage ../development/python-modules/kerberos { }; + kestra = callPackage ../development/python-modules/kestra { }; + keyboard = callPackage ../development/python-modules/keyboard { }; keyring = callPackage ../development/python-modules/keyring { };