aws-mfa: init at 0.0.12

This commit is contained in:
Solène Rapenne 2021-01-28 08:56:06 +01:00 committed by Solène Rapenne
parent 51a303a69f
commit 9efd2d9ca1
2 changed files with 37 additions and 0 deletions

View 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 ];
};
}

View file

@ -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 { };