2021-08-19 23:25:10 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pytestCheckHook
|
|
|
|
, pythonOlder
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "policyuniverse";
|
2021-09-02 22:07:25 +01:00
|
|
|
version = "1.4.0.20210819";
|
2021-08-19 23:25:10 +01:00
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-09-02 22:07:25 +01:00
|
|
|
sha256 = "sha256-RBRUR9Rzw3/yd2ZnteEBigDApJPBagpIk5lSGzeGqL4=";
|
2021-08-19 23:25:10 +01: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 ];
|
|
|
|
};
|
|
|
|
}
|