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:
parent
dd3502a32a
commit
50321c955a
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue