about summary refs log tree commit diff
path: root/pkgs/development/python-modules/cfn-lint/default.nix
blob: d6205b27687dd7bfe3946d69e0df9d0a85aa584f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{ lib
, buildPythonPackage
, fetchPypi
, pyyaml
, six
, requests
, aws-sam-translator
, jsonpatch
, jsonschema
, pathlib2
}:

buildPythonPackage rec {
  pname = "cfn-lint";
  version = "0.19.1";

  src = fetchPypi {
    inherit pname version;
    sha256 = "5a723ff791fc23aced78e9cde28f18f9eeae9a24f91db2b7a20f7aa837a613b3";
  };

  propagatedBuildInputs = [
    pyyaml
    six
    requests
    aws-sam-translator
    jsonpatch
    jsonschema
    pathlib2
  ];

  # No tests included in archive
  doCheck = false;

  meta = with lib; {
    description = "Checks cloudformation for practices and behaviour that could potentially be improved";
    homepage = https://github.com/aws-cloudformation/cfn-python-lint;
    license = licenses.mit;
  };
}