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