base16-schemes: unstable-2024-06-21 -> unstable-2024-11-12
[NixPkgs.git] / pkgs / by-name / ai / airlift / package.nix
blob1293a70cdb950a813320ca7396ae971a746c1d98
1 { lib
2 , python3
3 , fetchPypi
4 , kubernetes-helm
5 , kind
6 , docker
7 }:
9 python3.pkgs.buildPythonApplication rec {
11   pname = "airlift";
12   pyproject = true;
13   version = "0.4.0";
15   src = fetchPypi {
16     inherit pname version;
17     hash = "sha256-JcW2FXl+SrdveRmG5bD1ttf6F3LwvGZQF4ZCTpDpPa8=";
18   };
20   postPatch = ''
21     sed -i '/argparse/d' pyproject.toml
22   '';
24   pythonRelaxDeps = [
25     "hiyapyco"
26   ];
28   nativeBuildInputs = [
29     python3.pkgs.poetry-core
30   ];
32   buildInputs = [
33     kubernetes-helm
34     kind
35     docker
36   ];
38   propagatedBuildInputs = with python3.pkgs; [
39     halo
40     pyyaml
41     hiyapyco
42     jinja2
43     dotmap
44     requests
45   ];
46   pythonImportsCheck = [
47     "airlift"
48   ];
49   meta = with lib; {
50     description = "Flexible, configuration driven CLI for Apache Airflow local development";
51     homepage = "https://github.com/jl178/airlift";
52     license = licenses.mit;
53     changelog = "https://github.com/jl178/airlift/releases/tag/v${version}";
54     maintainers = with maintainers; [ jl178 ];
55     mainProgram = "airlift";
56   };