diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2021-01-28 15:30:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-28 15:30:01 +0100 |
commit | 9ce7db057cb9ba21edaa1a624e4586a83c2085e8 (patch) | |
tree | da5499d7902cd749616c5fb59e41bfa116313446 /pkgs/tools/admin | |
parent | 34bfccc80b54c90f595eb54754d4d1175e1013a0 (diff) | |
parent | 9efd2d9ca1e764d016e7384fbb855b2ea9b1f111 (diff) | |
download | nixlib-9ce7db057cb9ba21edaa1a624e4586a83c2085e8.tar nixlib-9ce7db057cb9ba21edaa1a624e4586a83c2085e8.tar.gz nixlib-9ce7db057cb9ba21edaa1a624e4586a83c2085e8.tar.bz2 nixlib-9ce7db057cb9ba21edaa1a624e4586a83c2085e8.tar.lz nixlib-9ce7db057cb9ba21edaa1a624e4586a83c2085e8.tar.xz nixlib-9ce7db057cb9ba21edaa1a624e4586a83c2085e8.tar.zst nixlib-9ce7db057cb9ba21edaa1a624e4586a83c2085e8.zip |
Merge pull request #110951 from rapenne-s/add/aws-mfa
Diffstat (limited to 'pkgs/tools/admin')
-rw-r--r-- | pkgs/tools/admin/aws-mfa/default.nix | 35 |
1 files changed, 35 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 000000000000..12f63e627e6d --- /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 ]; + }; +} |