Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.09 40 lines 746 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, pyyaml 5, six 6, requests 7, aws-sam-translator 8, jsonpatch 9, jsonschema 10, pathlib2 11}: 12 13buildPythonPackage rec { 14 pname = "cfn-lint"; 15 version = "0.19.1"; 16 17 src = fetchPypi { 18 inherit pname version; 19 sha256 = "5a723ff791fc23aced78e9cde28f18f9eeae9a24f91db2b7a20f7aa837a613b3"; 20 }; 21 22 propagatedBuildInputs = [ 23 pyyaml 24 six 25 requests 26 aws-sam-translator 27 jsonpatch 28 jsonschema 29 pathlib2 30 ]; 31 32 # No tests included in archive 33 doCheck = false; 34 35 meta = with lib; { 36 description = "Checks cloudformation for practices and behaviour that could potentially be improved"; 37 homepage = https://github.com/aws-cloudformation/cfn-python-lint; 38 license = licenses.mit; 39 }; 40}