diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2023-11-03 06:01:08 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-03 06:01:08 +0000 |
commit | 41ef1f3277e06938c8e265052e69c894860cde16 (patch) | |
tree | 00974a5e05dbe14a30c43606ab66ac7bb9d0356d /pkgs/by-name/ai/airlift/package.nix | |
parent | cbec6b85a3ad3071e1fc2d7057671f73c59e2138 (diff) | |
parent | 014ba34da35c14b6cad82b07a1245f3251e78645 (diff) |
Merge master into staging-next
Diffstat (limited to 'pkgs/by-name/ai/airlift/package.nix')
-rw-r--r-- | pkgs/by-name/ai/airlift/package.nix | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/pkgs/by-name/ai/airlift/package.nix b/pkgs/by-name/ai/airlift/package.nix new file mode 100644 index 0000000000000..81ac5acc2efad --- /dev/null +++ b/pkgs/by-name/ai/airlift/package.nix @@ -0,0 +1,48 @@ +{ lib +, python3 +, fetchPypi +, argparse +, kubernetes-helm +, kind +, docker +}: + +python3.pkgs.buildPythonApplication rec { + + pname = "airlift"; + pyproject = true; + version = "0.3.0"; + + src = fetchPypi { + inherit pname version; + hash = "sha256-1LE3fpfX4NExJdUdSjt4BXvxQTLJ8zrRkGHkxo/6Pb8="; + }; + buildInputs = [ + kubernetes-helm + kind + docker + ]; + nativeBuildInputs = [ + python3.pkgs.poetry-core + ]; + propagatedBuildInputs = with python3.pkgs; [ + argparse + halo + pyyaml + hiyapyco + jinja2 + dotmap + requests + ]; + pythonImportsCheck = [ + "airlift" + ]; + meta = with lib; { + description = "A flexible, configuration driven CLI for Apache Airflow local development"; + homepage = "https://github.com/jl178/airlift"; + license = licenses.mit; + changelog = "https://github.com/jl178/airlift/releases/tag/v${version}"; + maintainers = with maintainers; [ jl178 ]; + mainProgram = "airlift"; + }; +} |