diff options
author | Solène Rapenne <solene@perso.pw> | 2021-01-28 08:56:06 +0100 |
---|---|---|
committer | Solène Rapenne <solene.rapenne@nbs-system.com> | 2021-01-28 08:56:06 +0100 |
commit | 9efd2d9ca1e764d016e7384fbb855b2ea9b1f111 (patch) | |
tree | 78fa75e3e6727fd5c82e0da2ac72374e2b51abc4 /pkgs | |
parent | 51a303a69f44641c6b2c2956133b0416b0c5bf4d (diff) |
aws-mfa: init at 0.0.12
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/tools/admin/aws-mfa/default.nix | 35 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 37 insertions, 0 deletions
diff --git a/pkgs/tools/admin/aws-mfa/default.nix b/pkgs/tools/admin/aws-mfa/default.nix new file mode 100644 index 0000000000000..12f63e627e6d4 --- /dev/null +++ b/pkgs/tools/admin/aws-mfa/default.nix @@ -0,0 +1,35 @@ +{ lib +, buildPythonApplication +, fetchFromGitHub +, pkgs +, boto3 +}: + +buildPythonApplication rec { + pname = "aws-mfa"; + version = "0.0.12"; + + src = fetchFromGitHub { + owner = "broamski"; + repo = "aws-mfa"; + rev = version; + sha256 = "1blcpa13zgyac3v8inc7fh9szxq2avdllx6w5ancfmyh5spc66ay"; + }; + + propagatedBuildInputs = [ + boto3 + ]; + + doCheck = false; + + pythonImportsCheck = [ + "awsmfa" + ]; + + meta = with lib; { + description = "Manage AWS MFA Security Credentials"; + homepage = "https://github.com/broamski/aws-mfa"; + license = [ licenses.mit ]; + maintainers = [ maintainers.srapenne ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 73b42d95b2885..f58933066eeca 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -989,6 +989,8 @@ in aws-google-auth = python3Packages.callPackage ../tools/admin/aws-google-auth { }; + aws-mfa = python3Packages.callPackage ../tools/admin/aws-mfa { }; + aws-nuke = callPackage ../tools/admin/aws-nuke { }; aws-okta = callPackage ../tools/security/aws-okta { }; |