@@ -550,6 +550,44 @@ (define-public python-css-html-js-minify
;; looks like the user can choose a license.
(license (list license:gpl3+ license:lgpl3+ license:expat))))
+(define-public python-curlylint
+ (package
+ (name "python-curlylint")
+ (version "0.13.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "curlylint" version))
+ (sha256
+ (base32
+ "0li72vig9ibrdfazvaprfawrq84ylg00byrfq554081r1wb9v2q0"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (delete 'sanity-check)
+ (replace 'check
+ (lambda* (#:key tests? inputs #:allow-other-keys)
+ (if tests?
+ (lambda _
+ (substitute* "setup.py"
+ (("parsy==1.1.0") "parsy>=1.1.0"))
+ (invoke "pytest" "-vv"))
+ (format #t "test suite not run~%")))))))
+ (propagated-inputs (list python-attrs
+ python-click
+ python-dataclasses
+ python-parsy
+ python-pathspec
+ python-toml))
+ (home-page "https://github.com/thibaudcolas/curlylint")
+ (synopsis
+ "Experimental HTML templates linting")
+ (description
+ "This package provides experimental HTML templates linting for Jinja,
+Nunjucks, Django templates, Twig and Liquid.")
+ (license license:expat)))
+
(define-public python-aws-sam-translator
(package
(name "python-aws-sam-translator")