56 lines
968 B
Nix
56 lines
968 B
Nix
{ 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 ];
|
|
};
|
|
}
|