Unverified Commit ad83c5cf authored by OTABI Tomoya's avatar OTABI Tomoya Committed by GitHub
Browse files

Merge pull request #264166 from jl178/python3Packages.airlift0.3.0

airlift: init at 0.3.0
parents 3bc446a5 b20c401b
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -8370,6 +8370,12 @@
    githubId = 3081095;
    name = "Jürgen Keck";
  };
  jl178 = {
    email = "jeredlittle1996@gmail.com";
    github = "jl178";
    githubId = 72664723;
    name = "Jered Little";
  };
  jlamur = {
    email = "contact@juleslamur.fr";
    github = "jlamur";
+48 −0
Original line number Diff line number Diff line
{ 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";
  };
}