mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-14 11:56:33 +01:00
65 lines
1.2 KiB
Nix
65 lines
1.2 KiB
Nix
{
|
|
lib,
|
|
boto3,
|
|
botocore,
|
|
buildPythonPackage,
|
|
cached-property,
|
|
click,
|
|
click-option-group,
|
|
fetchFromGitHub,
|
|
jinja2,
|
|
markdown,
|
|
policy-sentry,
|
|
pytestCheckHook,
|
|
pyyaml,
|
|
schema,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "cloudsplaining";
|
|
version = "0.8.2";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "salesforce";
|
|
repo = "cloudsplaining";
|
|
tag = version;
|
|
hash = "sha256-Abp/uvH1IYO/rb2o+7uI0Ef6q7K6T0kN1mo+Qit438E=";
|
|
};
|
|
|
|
pythonRelaxDeps = true;
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
boto3
|
|
botocore
|
|
cached-property
|
|
click
|
|
click-option-group
|
|
jinja2
|
|
markdown
|
|
policy-sentry
|
|
pyyaml
|
|
schema
|
|
];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
disabledTests = [
|
|
"test_policy_expansion"
|
|
"test_statement_details_for_allow_not_action"
|
|
];
|
|
|
|
pythonImportsCheck = [ "cloudsplaining" ];
|
|
|
|
meta = {
|
|
description = "Python module for AWS IAM security assessment";
|
|
homepage = "https://github.com/salesforce/cloudsplaining";
|
|
changelog = "https://github.com/salesforce/cloudsplaining/releases/tag/${src.tag}";
|
|
license = lib.licenses.bsd3;
|
|
maintainers = with lib.maintainers; [ fab ];
|
|
mainProgram = "cloudsplaining";
|
|
};
|
|
}
|