depot/third_party/nixpkgs/pkgs/by-name/ai/airlift/package.nix
Default email 2c76a4cb41 Project import generated by Copybara.
GitOrigin-RevId: c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad
2023-11-16 04:20:00 +00:00

48 lines
954 B
Nix

{ 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";
};
}