Merge pull request #134895 from fabaff/policyuniverse

This commit is contained in:
Sandro 2021-08-20 12:57:14 +02:00 committed by GitHub
commit 65a0b4488b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 31 additions and 0 deletions

View file

@ -0,0 +1,29 @@
{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "policyuniverse";
version = "1.4.0.20210816";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "05fxn89f6rr5rrp117cnqsfzy1p3nbmq3izq2jqk6kackcr3cl8x";
};
# 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 ];
};
}

View file

@ -5538,6 +5538,8 @@ in {
polib = callPackage ../development/python-modules/polib { };
policyuniverse = callPackage ../development/python-modules/policyuniverse { };
polyline = callPackage ../development/python-modules/polyline { };
pomegranate = callPackage ../development/python-modules/pomegranate { };