depot/third_party/nixpkgs/pkgs/tools/admin/aws-mfa/default.nix
Default email 439a6efcab Project import generated by Copybara.
GitOrigin-RevId: f6b5bfdb470d60a876992749d0d708ed7b6b56ca
2021-02-24 18:30:23 +00:00

34 lines
623 B
Nix

{ lib
, buildPythonApplication
, fetchFromGitHub
, 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 ];
};
}