[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#37234] [PATCH 18/21] gnu: Add python-cfn-lint.
From: |
Marius Bakke |
Subject: |
[bug#37234] [PATCH 18/21] gnu: Add python-cfn-lint. |
Date: |
Fri, 30 Aug 2019 16:25:36 +0200 |
* gnu/packages/python-web.scm (python-cfn-lint): New public variable.
---
gnu/packages/python-web.scm | 40 +++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 6e7ecacc99..b6f1f208ad 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -266,6 +266,46 @@ Model} (SAM) templates into AWS CloudFormation templates.")
emit information from within their applications to the AWS X-Ray service.")
(license license:asl2.0)))
+(define-public python-cfn-lint
+ (package
+ (name "python-cfn-lint")
+ (version "0.23.3")
+ (home-page "https://github.com/aws-cloudformation/cfn-python-lint")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url home-page)
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1bf40lvhggf2x0n85sprkhzk9cgnxng5hhpazy4gipia1p7gv25x"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases (modify-phases %standard-phases
+ (replace 'check
+ (lambda _
+ (setenv "PYTHONPATH"
+ (string-append "./build/lib:"
+ (getenv "PYTHONPATH")))
+ (invoke "python" "-m" "unittest" "discover"
+ "-s" "test"))))))
+ (native-inputs
+ `(("python-mock" ,python-mock)))
+ (propagated-inputs
+ `(("python-aws-sam-translator" ,python-aws-sam-translator)
+ ("python-jsonpatch" ,python-jsonpatch)
+ ("python-jsonpointer" ,python-jsonpointer)
+ ("python-jsonschema" ,python-jsonschema)
+ ("python-pyyaml" ,python-pyyaml)
+ ("python-six" ,python-six)))
+ (synopsis "Validate CloudFormation templates")
+ (description
+ "This package lets you validate CloudFormation YAML/JSON templates against
+the CloudFormation spec and additional checks. Includes checking valid values
+for resource properties and best practices.")
+ (license license:expat)))
+
(define-public python-falcon
(package
(name "python-falcon")
--
2.22.1
- [bug#37234] [PATCH 02/21] gnu: Add python-databricks-cli., (continued)
- [bug#37234] [PATCH 02/21] gnu: Add python-databricks-cli., Marius Bakke, 2019/08/30
- [bug#37234] [PATCH 05/21] gnu: Add python-minio., Marius Bakke, 2019/08/30
- [bug#37234] [PATCH 08/21] gnu: Add python-boto3., Marius Bakke, 2019/08/30
- [bug#37234] [PATCH 14/21] gnu: Add python-jsondiff., Marius Bakke, 2019/08/30
- [bug#37234] [PATCH 06/21] gnu: python-docker-py: Propagate runtime dependency., Marius Bakke, 2019/08/30
- [bug#37234] [PATCH 09/21] gnu: python-botocore: Remove unused inputs., Marius Bakke, 2019/08/30
- [bug#37234] [PATCH 12/21] gnu: Add python-pytest-aiohttp., Marius Bakke, 2019/08/30
- [bug#37234] [PATCH 17/21] gnu: Add python-aws-sam-translator., Marius Bakke, 2019/08/30
- [bug#37234] [PATCH 07/21] gnu: python-botocore: Update to 1.12.209., Marius Bakke, 2019/08/30
- [bug#37234] [PATCH 10/21] gnu: Add python-sshpubkeys., Marius Bakke, 2019/08/30
- [bug#37234] [PATCH 18/21] gnu: Add python-cfn-lint.,
Marius Bakke <=
- [bug#37234] [PATCH 03/21] gnu: Add python-gorilla., Marius Bakke, 2019/08/30
- [bug#37234] [PATCH 13/21] gnu: Add python-aws-xray-sdk., Marius Bakke, 2019/08/30
- [bug#37234] [PATCH 16/21] gnu: Add python-boto., Marius Bakke, 2019/08/30
- [bug#37234] [PATCH 20/21] gnu: Add python-moto., Marius Bakke, 2019/08/30
- [bug#37234] [PATCH 19/21] gnu: python-pyyaml: Add version 5.1., Marius Bakke, 2019/08/30
- [bug#37234] [PATCH 21/21] gnu: Add mlflow., Marius Bakke, 2019/08/30
- [bug#37234] [PATCH 04/21] gnu: Add python-querystring-parser., Marius Bakke, 2019/08/30
- [bug#37234] [PATCH 15/21] gnu: Add python-jose., Marius Bakke, 2019/08/30
- [bug#37234] [PATCH 11/21] gnu: Add python-jsonpickle., Marius Bakke, 2019/08/30