15 buildPythonPackage rec {
16 pname = "policy-sentry";
20 disabled = pythonOlder "3.7";
22 src = fetchFromGitHub {
24 repo = "policy_sentry";
25 rev = "refs/tags/${version}";
26 hash = "sha256-1LYcUlGoSalbdo4tiNIYbdA04IHRTImhdWScpiCZk50=";
29 build-system = [ setuptools ];
39 nativeCheckInputs = [ pytestCheckHook ];
41 pythonImportsCheck = [ "policy_sentry" ];
44 description = "Python module for generating IAM least privilege policies";
45 homepage = "https://github.com/salesforce/policy_sentry";
46 changelog = "https://github.com/salesforce/policy_sentry/releases/tag/${version}";
47 license = licenses.bsd3;
48 maintainers = with maintainers; [ fab ];
49 mainProgram = "policy_sentry";