depot/third_party/nixpkgs/pkgs/development/python-modules/policyuniverse/default.nix
Default email 88abffb7d2 Project import generated by Copybara.
GitOrigin-RevId: bc9b956714ed6eac5f8888322aac5bc41389defa
2021-09-18 12:52:07 +02:00

29 lines
705 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "policyuniverse";
version = "1.4.0.20210819";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-RBRUR9Rzw3/yd2ZnteEBigDApJPBagpIk5lSGzeGqL4=";
};
# 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 ];
};
}