20 buildPythonPackage rec {
21 pname = "cloudsplaining";
25 disabled = pythonOlder "3.8";
27 src = fetchFromGitHub {
29 repo = "cloudsplaining";
30 rev = "refs/tags/${version}";
31 hash = "sha256-ZraWGOiJNqVSmxnllaTvpk9+rUQRFcxFIdp91gpAQW0=";
35 # Ignore pinned versions
36 sed -i "s/'\(.*\)\(==\|>=\).*'/'\1'/g" requirements.txt
39 build-system = [ setuptools ];
54 nativeCheckInputs = [ pytestCheckHook ];
57 "test_policy_expansion"
58 "test_statement_details_for_allow_not_action"
61 pythonImportsCheck = [ "cloudsplaining" ];
64 description = "Python module for AWS IAM security assessment";
65 homepage = "https://github.com/salesforce/cloudsplaining";
66 changelog = "https://github.com/salesforce/cloudsplaining/releases/tag/${version}";
67 license = licenses.bsd3;
68 maintainers = with maintainers; [ fab ];
69 mainProgram = "cloudsplaining";