depot/third_party/nixpkgs/pkgs/development/python-modules/policyuniverse/default.nix
Default email ca5ab3a501 Project import generated by Copybara.
GitOrigin-RevId: 4a01ca36d6bfc133bc617e661916a81327c9bbc8
2022-07-14 08:49:19 -04:00

32 lines
717 B
Nix

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