1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
{
lib,
boto3,
botocore,
buildPythonPackage,
cached-property,
click,
click-option-group,
fetchFromGitHub,
jinja2,
markdown,
policy-sentry,
pytestCheckHook,
pyyaml,
schema,
setuptools,
}:
buildPythonPackage rec {
pname = "cloudsplaining";
version = "0.8.2";
pyproject = true;
src = fetchFromGitHub {
owner = "salesforce";
repo = "cloudsplaining";
tag = version;
hash = "sha256-Abp/uvH1IYO/rb2o+7uI0Ef6q7K6T0kN1mo+Qit438E=";
};
pythonRelaxDeps = true;
build-system = [ setuptools ];
dependencies = [
boto3
botocore
cached-property
click
click-option-group
jinja2
markdown
policy-sentry
pyyaml
schema
];
nativeCheckInputs = [ pytestCheckHook ];
disabledTests = [
"test_policy_expansion"
"test_statement_details_for_allow_not_action"
];
pythonImportsCheck = [ "cloudsplaining" ];
meta = {
description = "Python module for AWS IAM security assessment";
homepage = "https://github.com/salesforce/cloudsplaining";
changelog = "https://github.com/salesforce/cloudsplaining/releases/tag/${src.tag}";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ fab ];
mainProgram = "cloudsplaining";
};
}
|