depot/third_party/nixpkgs/pkgs/development/python-modules/policyuniverse/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

31 lines
717 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pythonOlder,
}:
buildPythonPackage rec {
pname = "policyuniverse";
version = "1.5.1.20231109";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-dOVtQQVgkVwsUTLjYbATDkv/4xKi9FIw6sUNfAlLxAo=";
};
# 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 ];
};
}