2021-08-22 07:53:02 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pythonOlder
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "policyuniverse";
|
2022-04-27 09:35:20 +00:00
|
|
|
version = "1.5.0.20220426";
|
2021-08-22 07:53:02 +00:00
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-04-27 09:35:20 +00:00
|
|
|
sha256 = "sha256-lOis0JE0XI43KsuGgpG20iBRPttVJvRS225PInu7EUM=";
|
2021-08-22 07:53:02 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# Tests are not shipped and there are no GitHub tags
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "policyuniverse" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Parse and Process AWS IAM Policies, Statements, ARNs and wildcards";
|
|
|
|
homepage = "https://github.com/Netflix-Skunkworks/policyuniverse";
|
|
|
|
license = with licenses; [ asl20 ];
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|