diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2021-08-19 21:46:58 +0200 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2021-08-20 13:16:30 +0200 |
commit | e0e20825417564addcc2ce87b92acad3844a9cc5 (patch) | |
tree | 7bd53ca1cb13e25fb10021e0dcdf01ffb997efa2 /pkgs/development/python-modules/cloudsplaining | |
parent | 01800b10e5dc5616797adbeb2fa51c82581ab984 (diff) |
python3Packages.cloudsplaining: init at 0.4.5
Diffstat (limited to 'pkgs/development/python-modules/cloudsplaining')
-rw-r--r-- | pkgs/development/python-modules/cloudsplaining/default.nix | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/cloudsplaining/default.nix b/pkgs/development/python-modules/cloudsplaining/default.nix new file mode 100644 index 0000000000000..d99f66943d96a --- /dev/null +++ b/pkgs/development/python-modules/cloudsplaining/default.nix @@ -0,0 +1,55 @@ +{ lib +, boto3 +, botocore +, buildPythonPackage +, cached-property +, click +, click-option-group +, fetchFromGitHub +, jinja2 +, markdown +, policy-sentry +, pytestCheckHook +, pythonOlder +, pyyaml +, schema +}: + +buildPythonPackage rec { + pname = "cloudsplaining"; + version = "0.4.5"; + disabled = pythonOlder "3.6"; + + src = fetchFromGitHub { + owner = "salesforce"; + repo = pname; + rev = version; + sha256 = "0s446jji3c9x1gw0lsb03giir91cnv6dgh4nzxg9mc1rm9wy7gzw"; + }; + + propagatedBuildInputs = [ + boto3 + botocore + cached-property + click + click-option-group + jinja2 + markdown + policy-sentry + pyyaml + schema + ]; + + checkInputs = [ + pytestCheckHook + ]; + + pythonImportsCheck = [ "cloudsplaining" ]; + + meta = with lib; { + description = "Python module for AWS IAM security assessment"; + homepage = "https://github.com/salesforce/cloudsplaining"; + license = licenses.bsd3; + maintainers = with maintainers; [ fab ]; + }; +} |