depot/third_party/nixpkgs/pkgs/development/python-modules/policyuniverse/default.nix

30 lines
706 B
Nix
Raw Normal View History

{ 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 ];
};
}