1{ lib 2, buildPythonPackage 3, fetchPypi 4, pythonOlder 5}: 6 7buildPythonPackage rec { 8 pname = "policyuniverse"; 9 version = "1.4.0.20210819"; 10 disabled = pythonOlder "3.7"; 11 12 src = fetchPypi { 13 inherit pname version; 14 sha256 = "sha256-RBRUR9Rzw3/yd2ZnteEBigDApJPBagpIk5lSGzeGqL4="; 15 }; 16 17 # Tests are not shipped and there are no GitHub tags 18 doCheck = false; 19 20 pythonImportsCheck = [ "policyuniverse" ]; 21 22 meta = with lib; { 23 description = "Parse and Process AWS IAM Policies, Statements, ARNs and wildcards"; 24 homepage = "https://github.com/Netflix-Skunkworks/policyuniverse"; 25 license = with licenses; [ asl20 ]; 26 maintainers = with maintainers; [ fab ]; 27 }; 28}