@@ -1885,6 +1885,33 @@ (define-public python-databricks-cli
Databricks REST APIs.")
(license license:asl2.0)))
+(define-public python-djhtml
+ (package
+ (name "python-djhtml")
+ (version "1.5.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "djhtml" version))
+ (sha256
+ (base32 "1csyq47rpfdgigxd4kpil90vl6jrmq42agr04mhsbqj5kh70dffk"))))
+ (build-system python-build-system)
+ (native-inputs (list python-black python-flake8 python-isort python-nox
+ python-pre-commit))
+ (home-page "https://github.com/rtts/djhtml")
+ (synopsis "Django/Jinja template indenter")
+ (description
+"This package provides a fully automatic template indenter that works with
+mixed HTML/CSS/Javascript templates that contain Django or Jinja template
+tags. It works similar to other code-formatting tools such as
+@code{python-black} and interoperates nicely with @code{pre-commit}.
+
+DjHTML is an indenter and not a formatter: it will only add/remove whitespace
+at the beginning of lines. It will not insert newlines or other
+characters. The goal is to correctly indent already well-structured templates,
+not to fix broken ones.")
+ (license license:gpl3)))
+
(define-public python-openid-cla
(package
(name "python-openid-cla")