mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
aws-mfa: init at 0.0.12
This commit is contained in:
parent
51a303a69f
commit
9efd2d9ca1
2 changed files with 37 additions and 0 deletions
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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue