python3Packages.policy-sentry: init at 0.11.16

This commit is contained in:
Fabian Affolter 2021-08-19 21:39:58 +02:00
parent e0e2082541
commit c56768da9e
2 changed files with 47 additions and 0 deletions

View File

@ -0,0 +1,45 @@
{ lib
, beautifulsoup4
, buildPythonPackage
, click
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
, pyyaml
, requests
, schema
}:
buildPythonPackage rec {
pname = "policy-sentry";
version = "0.11.16";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "salesforce";
repo = "policy_sentry";
rev = version;
sha256 = "0m3sr1mhnmm22xgd3h9dgkrq20pdghwx505xld4pahj686z4bva2";
};
propagatedBuildInputs = [
beautifulsoup4
click
requests
pyyaml
schema
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "policy_sentry" ];
meta = with lib; {
description = "Python module for generating IAM least privilege policies";
homepage = "https://github.com/salesforce/policy_sentry";
license = licenses.bsd3;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -5540,6 +5540,8 @@ in {
polib = callPackage ../development/python-modules/polib { };
policy-sentry = callPackage ../development/python-modules/policy-sentry { };
policyuniverse = callPackage ../development/python-modules/policyuniverse { };
polyline = callPackage ../development/python-modules/polyline { };