awscli2: remove with py.pkgs

This commit is contained in:
Anthony Roussel 2024-06-21 17:44:44 +02:00
parent 47eb5bf3f6
commit 75be03a801
No known key found for this signature in database
GPG Key ID: 9DC4987B1A55E75E

View File

@ -57,7 +57,7 @@ let
}; };
in in
with py.pkgs; buildPythonApplication rec { py.pkgs.buildPythonApplication rec {
pname = "awscli2"; pname = "awscli2";
version = "2.17.0"; # N.B: if you change this, check if overrides are still up-to-date version = "2.17.0"; # N.B: if you change this, check if overrides are still up-to-date
pyproject = true; pyproject = true;
@ -86,12 +86,15 @@ with py.pkgs; buildPythonApplication rec {
sed -i '/pip>=/d' requirements/bootstrap.txt sed -i '/pip>=/d' requirements/bootstrap.txt
''; '';
build-system = [ nativeBuildInputs = [
installShellFiles installShellFiles
];
build-system = with py.pkgs; [
flit-core flit-core
]; ];
dependencies = [ dependencies = with py.pkgs; [
awscrt awscrt
bcdoc bcdoc
botocore botocore
@ -99,9 +102,7 @@ with py.pkgs; buildPythonApplication rec {
cryptography cryptography
distro distro
docutils docutils
groff
jmespath jmespath
less
prompt-toolkit prompt-toolkit
python-dateutil python-dateutil
pyyaml pyyaml
@ -109,7 +110,12 @@ with py.pkgs; buildPythonApplication rec {
urllib3 urllib3
]; ];
nativeCheckInputs = [ propagatedBuildInputs = [
groff
less
];
nativeCheckInputs = with py.pkgs; [
jsonschema jsonschema
mock mock
pytestCheckHook pytestCheckHook