about summary refs log tree commit diff
path: root/pkgs/development/python-modules/cfn-lint
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2019-05-01 10:59:49 +0200
committerFrederik Rietdijk <fridh@fridh.nl>2019-05-01 10:59:49 +0200
commit09f27e38b6f773ce94824976a142c25bb4444ed5 (patch)
tree4ef12cfd3149512e40a496e841fb7b0c2e832d41 /pkgs/development/python-modules/cfn-lint
parenta3990c9f6ddf518cbd3e62efea1c8c9b4f60aaf5 (diff)
downloadnixlib-09f27e38b6f773ce94824976a142c25bb4444ed5.tar
nixlib-09f27e38b6f773ce94824976a142c25bb4444ed5.tar.gz
nixlib-09f27e38b6f773ce94824976a142c25bb4444ed5.tar.bz2
nixlib-09f27e38b6f773ce94824976a142c25bb4444ed5.tar.lz
nixlib-09f27e38b6f773ce94824976a142c25bb4444ed5.tar.xz
nixlib-09f27e38b6f773ce94824976a142c25bb4444ed5.tar.zst
nixlib-09f27e38b6f773ce94824976a142c25bb4444ed5.zip
python.pkgs.cfn-lint: init at 0.19.1
Diffstat (limited to 'pkgs/development/python-modules/cfn-lint')
-rw-r--r--pkgs/development/python-modules/cfn-lint/default.nix40
1 files changed, 40 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/cfn-lint/default.nix b/pkgs/development/python-modules/cfn-lint/default.nix
new file mode 100644
index 000000000000..d6205b27687d
--- /dev/null
+++ b/pkgs/development/python-modules/cfn-lint/default.nix
@@ -0,0 +1,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;
+  };
+}