mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 23:23:07 +00:00
29 lines
687 B
Nix
29 lines
687 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "policyuniverse";
|
|
version = "1.4.0.20220110";
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-EWuAhVTX6nXvyXtMuQQIVUbbRZNO8xUXXLR1XHpEid4=";
|
|
};
|
|
|
|
# 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 ];
|
|
};
|
|
}
|