3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/cfn-lint/default.nix

41 lines
746 B
Nix
Raw Normal View History

2019-05-01 09:59:49 +01:00
{ lib
, buildPythonPackage
, fetchPypi
, pyyaml
, six
, requests
, aws-sam-translator
, jsonpatch
, jsonschema
, pathlib2
}:
buildPythonPackage rec {
pname = "cfn-lint";
2019-10-24 07:47:27 +01:00
version = "0.24.5";
2019-05-01 09:59:49 +01:00
src = fetchPypi {
inherit pname version;
2019-10-24 07:47:27 +01:00
sha256 = "1268c9730ba869f0f630eaf5bac34795553a97385d38eb91b9f7f5c3f73c8982";
2019-05-01 09:59:49 +01:00
};
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;
};
}