16 buildPythonPackage rec {
17 pname = "policy-sentry";
21 disabled = pythonOlder "3.8";
23 src = fetchFromGitHub {
25 repo = "policy_sentry";
26 rev = "refs/tags/${version}";
27 hash = "sha256-J6dLKmfZJSU9k64PzOAOTgYvRf9NCpWtYuFEUxrfT5M=";
30 build-system = [ setuptools ];
41 nativeCheckInputs = [ pytestCheckHook ];
43 pythonImportsCheck = [ "policy_sentry" ];
46 description = "Python module for generating IAM least privilege policies";
47 homepage = "https://github.com/salesforce/policy_sentry";
48 changelog = "https://github.com/salesforce/policy_sentry/releases/tag/${version}";
49 license = licenses.bsd3;
50 maintainers = with maintainers; [ fab ];
51 mainProgram = "policy_sentry";