python3Packages.cloudsplaining: fix build
This commit is contained in:
parent
8c0421b4fc
commit
9a30be125a
@ -18,6 +18,7 @@
|
|||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "cloudsplaining";
|
pname = "cloudsplaining";
|
||||||
version = "0.4.5";
|
version = "0.4.5";
|
||||||
|
|
||||||
disabled = pythonOlder "3.6";
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
@ -44,7 +45,19 @@ buildPythonPackage rec {
|
|||||||
pytestCheckHook
|
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; {
|
meta = with lib; {
|
||||||
description = "Python module for AWS IAM security assessment";
|
description = "Python module for AWS IAM security assessment";
|
||||||
|
Loading…
Reference in New Issue
Block a user