nixpkgs/pkgs/development/python-modules/cfn-lint/default.nix

43 lines
774 B
Nix
Raw Normal View History

2019-05-01 01:59:49 -07:00
{ lib
, buildPythonPackage
, fetchPypi
, pyyaml
, six
, requests
, aws-sam-translator
, jsonpatch
, jsonschema
, pathlib2
2019-11-08 09:16:10 -08:00
, setuptools
2019-05-01 01:59:49 -07:00
}:
buildPythonPackage rec {
pname = "cfn-lint";
2019-11-19 06:35:33 -08:00
version = "0.24.8";
2019-05-01 01:59:49 -07:00
src = fetchPypi {
inherit pname version;
2019-11-19 06:35:33 -08:00
sha256 = "5aa1540ee9a7efc23ebe54a22f1a505766a4bb44f64a0f4fe79574a156a9b43e";
2019-05-01 01:59:49 -07:00
};
propagatedBuildInputs = [
pyyaml
six
requests
aws-sam-translator
jsonpatch
jsonschema
pathlib2
2019-11-08 09:16:10 -08:00
setuptools
2019-05-01 01:59:49 -07:00
];
# 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;
};
}