Merge pull request #286178 from tirimia/fix/aws-gate-requirements

aws-gate: fix missing and outdated requirements

authored by kirillrdy and committed by GitHub 3a7268f1 aef7c94e

+15 -15
-11
pkgs/by-name/aw/aws-gate/disable-bootstrap.patch
··· 38 38 elif args.subcommand == "exec": 39 39 exec( 40 40 config=config, 41 - diff --git a/requirements/requirements.txt b/requirements/requirements.txt 42 - index 50b203e..8c3496f 100644 43 - --- a/requirements/requirements.txt 44 - +++ b/requirements/requirements.txt 45 - @@ -3,5 +3,4 @@ cryptography==39.0.2 46 - marshmallow==3.19.0 47 - packaging==23.0 48 - PyYAML>=5.1,<6.1 49 - -requests==2.28.2 50 - unix-ar==0.2.1 51 - wrapt==1.15.0
+15 -4
pkgs/by-name/aw/aws-gate/package.nix
··· 26 26 ''; 27 27 28 28 nativeBuildInputs = [ 29 + installShellFiles 30 + python3Packages.pythonRelaxDepsHook 29 31 python3Packages.setuptools 30 32 python3Packages.wheel 31 - installShellFiles 32 33 ]; 33 34 34 - propagatedBuildInputs = [ ssm-session-manager-plugin ] ++ builtins.attrValues { 35 - inherit (python3Packages) marshmallow boto3 pyyaml wrapt cryptography; 36 - }; 35 + pythonRelaxDeps = true; 36 + 37 + propagatedBuildInputs = [ 38 + python3Packages.boto3 39 + python3Packages.cryptography 40 + python3Packages.marshmallow 41 + python3Packages.packaging 42 + python3Packages.pyyaml 43 + python3Packages.requests 44 + python3Packages.unix-ar 45 + python3Packages.wrapt 46 + ssm-session-manager-plugin 47 + ]; 37 48 38 49 postInstall = '' 39 50 installShellCompletion --bash completions/bash/aws-gate