diff options
author | Theodor-Alexandru Irimia <Theodor.Irimia@schuettflix.com> | 2024-02-04 00:31:41 +0100 |
---|---|---|
committer | Theodor-Alexandru Irimia <Theodor.Irimia@schuettflix.com> | 2024-02-04 19:05:56 +0100 |
commit | 52c2bbe128e15971fe84261a1aa1e5dc9e01e6bd (patch) | |
tree | e6ae58f206cd14744a4a462f24f255d14f577c6f /pkgs/by-name/aw | |
parent | 737bde6fb2ddd8ecfea8b89b5a17d1954620ce35 (diff) |
aws-gate: fix missing and outdated requirements
Diffstat (limited to 'pkgs/by-name/aw')
-rw-r--r-- | pkgs/by-name/aw/aws-gate/disable-bootstrap.patch | 11 | ||||
-rw-r--r-- | pkgs/by-name/aw/aws-gate/package.nix | 19 |
2 files changed, 15 insertions, 15 deletions
diff --git a/pkgs/by-name/aw/aws-gate/disable-bootstrap.patch b/pkgs/by-name/aw/aws-gate/disable-bootstrap.patch index 63b6ebce3b8a9..6fbd7019081d9 100644 --- a/pkgs/by-name/aw/aws-gate/disable-bootstrap.patch +++ b/pkgs/by-name/aw/aws-gate/disable-bootstrap.patch @@ -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 \ No newline at end of file diff --git a/pkgs/by-name/aw/aws-gate/package.nix b/pkgs/by-name/aw/aws-gate/package.nix index 77e56026665d1..cafe14c611bda 100644 --- a/pkgs/by-name/aw/aws-gate/package.nix +++ b/pkgs/by-name/aw/aws-gate/package.nix @@ -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 |