Merge pull request #329487 from fabaff/cloudsplaining-bump

python312Packages.cloudsplaining: 0.6.2 -> 0.6.3
This commit is contained in:
Fabian Affolter 2024-07-24 20:59:18 +02:00 committed by GitHub
commit c222e5f60a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -14,23 +14,31 @@
pythonOlder,
pyyaml,
schema,
setuptools,
}:
buildPythonPackage rec {
pname = "cloudsplaining";
version = "0.6.2";
format = "setuptools";
version = "0.6.3";
pyproject = true;
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "salesforce";
repo = pname;
repo = "cloudsplaining";
rev = "refs/tags/${version}";
hash = "sha256-7aOPerqayuJTHItlpnVVSzOlSGNnqHvtIi5BdovNh3A=";
hash = "sha256-mRWfb14zKS141cYzShXY+OoHWfs9PB1oJu3spsvv6mI=";
};
propagatedBuildInputs = [
postPatch = ''
# Ignore pinned versions
sed -i "s/'\(.*\)\(==\|>=\).*'/'\1'/g" requirements.txt
'';
build-system = [ setuptools ];
dependencies = [
boto3
botocore
cached-property
@ -45,11 +53,6 @@ buildPythonPackage rec {
nativeCheckInputs = [ pytestCheckHook ];
postPatch = ''
# Ignore pinned versions
sed -i "s/'\(.*\)\(==\|>=\).*'/'\1'/g" requirements.txt
'';
disabledTests = [
"test_policy_expansion"
"test_statement_details_for_allow_not_action"
@ -59,9 +62,10 @@ buildPythonPackage rec {
meta = with lib; {
description = "Python module for AWS IAM security assessment";
mainProgram = "cloudsplaining";
homepage = "https://github.com/salesforce/cloudsplaining";
changelog = "https://github.com/salesforce/cloudsplaining/releases/tag/${version}";
license = licenses.bsd3;
maintainers = with maintainers; [ fab ];
mainProgram = "cloudsplaining";
};
}