aws-gate: fix missing and outdated requirements

This commit is contained in:
Theodor-Alexandru Irimia 2024-02-04 00:31:41 +01:00
parent 737bde6fb2
commit 52c2bbe128
2 changed files with 15 additions and 15 deletions

View file

@ -38,14 +38,3 @@ index ac37c2f..9743415 100644
elif args.subcommand == "exec":
exec(
config=config,
diff --git a/requirements/requirements.txt b/requirements/requirements.txt
index 50b203e..8c3496f 100644
--- a/requirements/requirements.txt
+++ b/requirements/requirements.txt
@@ -3,5 +3,4 @@ cryptography==39.0.2
marshmallow==3.19.0
packaging==23.0
PyYAML>=5.1,<6.1
-requests==2.28.2
unix-ar==0.2.1
wrapt==1.15.0

View file

@ -26,14 +26,25 @@ python3Packages.buildPythonApplication rec {
'';
nativeBuildInputs = [
installShellFiles
python3Packages.pythonRelaxDepsHook
python3Packages.setuptools
python3Packages.wheel
installShellFiles
];
propagatedBuildInputs = [ ssm-session-manager-plugin ] ++ builtins.attrValues {
inherit (python3Packages) marshmallow boto3 pyyaml wrapt cryptography;
};
pythonRelaxDeps = true;
propagatedBuildInputs = [
python3Packages.boto3
python3Packages.cryptography
python3Packages.marshmallow
python3Packages.packaging
python3Packages.pyyaml
python3Packages.requests
python3Packages.unix-ar
python3Packages.wrapt
ssm-session-manager-plugin
];
postInstall = ''
installShellCompletion --bash completions/bash/aws-gate