mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
Merge pull request #110951 from rapenne-s/add/aws-mfa
This commit is contained in:
commit
9ce7db057c
3 changed files with 43 additions and 0 deletions
|
@ -8639,6 +8639,12 @@
|
|||
githubId = 36899624;
|
||||
name = "squalus";
|
||||
};
|
||||
srapenne = {
|
||||
email = "solene@perso.pw";
|
||||
github = "rapenne-s";
|
||||
githubId = 248016;
|
||||
name = "Solène Rapenne";
|
||||
};
|
||||
srghma = {
|
||||
email = "srghma@gmail.com";
|
||||
github = "srghma";
|
||||
|
|
35
pkgs/tools/admin/aws-mfa/default.nix
Normal file
35
pkgs/tools/admin/aws-mfa/default.nix
Normal file
|
@ -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 ];
|
||||
};
|
||||
}
|
|
@ -999,6 +999,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 { };
|
||||
|
|
Loading…
Reference in a new issue