Merge pull request #139475 from fabaff/bump-policy-sentry

python3Packages.policy-sentry: 0.11.16 -> 0.11.17
This commit is contained in:
Fabian Affolter 2021-10-12 18:05:46 +02:00 committed by GitHub
commit 4e6c5106db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 3 deletions

View File

@ -18,6 +18,7 @@
buildPythonPackage rec {
pname = "cloudsplaining";
version = "0.4.5";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
@ -44,7 +45,19 @@ buildPythonPackage rec {
pytestCheckHook
];
pythonImportsCheck = [ "cloudsplaining" ];
postPatch = ''
# Ignore pinned versions
sed -i "s/'\(.*\)\(==\|>=\).*'/'\1'/g" requirements.txt
'';
disabledTests = [
"test_policy_expansion"
"test_statement_details_for_allow_not_action"
];
pythonImportsCheck = [
"cloudsplaining"
];
meta = with lib; {
description = "Python module for AWS IAM security assessment";

View File

@ -12,14 +12,14 @@
buildPythonPackage rec {
pname = "policy-sentry";
version = "0.11.16";
version = "0.11.18";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "salesforce";
repo = "policy_sentry";
rev = version;
sha256 = "0m3sr1mhnmm22xgd3h9dgkrq20pdghwx505xld4pahj686z4bva2";
sha256 = "sha256-1wpy4WofqrPusOI2BHRqSHfXlRpbuLOx97egzSAbB8E=";
};
propagatedBuildInputs = [