21 buildPythonPackage rec {
24 format = "setuptools";
26 disabled = pythonOlder "3.8";
28 src = fetchFromGitHub {
29 owner = "aws-cloudformation";
31 rev = "refs/tags/v${version}";
32 hash = "sha256-em6Vi9zIn8ikmcHVbljA1vr+R3t8ZpJ57p3Ix3bqMYU=";
35 propagatedBuildInputs = [
56 export PATH=$out/bin:$PATH
60 # Requires git directory
62 # Tests depend on network access (fails in getaddrinfo)
63 "test_update_resource_specs_python_2"
64 "test_update_resource_specs_python_3"
65 "test_sarif_formatter"
66 # Some CLI tests fails
68 "test_override_parameters"
69 "test_positional_template_parameters"
70 "test_template_config"
73 pythonImportsCheck = [ "cfnlint" ];
76 description = "Checks cloudformation for practices and behaviour that could potentially be improved";
77 mainProgram = "cfn-lint";
78 homepage = "https://github.com/aws-cloudformation/cfn-lint";
79 changelog = "https://github.com/aws-cloudformation/cfn-lint/blob/v${version}/CHANGELOG.md";
80 license = licenses.mit;