1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

airlift: drop dependency on argparse

The top-level argparse packages a C++ argparser, it is meaningless to
include it here. Also argparse became part of the stdlib in Python 3.2,
which was released way back in February 2011.
This commit is contained in:
Martin Weinelt 2023-11-30 23:42:59 +01:00
parent dd3502a32a
commit 50321c955a
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -1,7 +1,6 @@
{ lib
, python3
, fetchPypi
, argparse
, kubernetes-helm
, kind
, docker
@ -17,16 +16,22 @@ python3.pkgs.buildPythonApplication rec {
inherit pname version;
hash = "sha256-1LE3fpfX4NExJdUdSjt4BXvxQTLJ8zrRkGHkxo/6Pb8=";
};
postPatch = ''
sed -i '/argparse/d' pyproject.toml
'';
nativeBuildInputs = [
python3.pkgs.poetry-core
];
buildInputs = [
kubernetes-helm
kind
docker
];
nativeBuildInputs = [
python3.pkgs.poetry-core
];
propagatedBuildInputs = with python3.pkgs; [
argparse
halo
pyyaml
hiyapyco