djlint: fix

This commit is contained in:
Gaetan Lepage 2024-07-08 23:05:24 +02:00
parent a77ad5e161
commit 0bac39ad05

View File

@ -15,15 +15,16 @@ python3.pkgs.buildPythonApplication rec {
hash = "sha256-p9RIzX9zoZxBrhiNaIeCX9OgfQm/lXNwYsh6IcsnIVk="; hash = "sha256-p9RIzX9zoZxBrhiNaIeCX9OgfQm/lXNwYsh6IcsnIVk=";
}; };
nativeBuildInputs = with python3.pkgs; [ build-system = with python3.pkgs; [
poetry-core poetry-core
]; ];
pythonRelaxDeps = [ pythonRelaxDeps = [
"pathspec" "pathspec"
"regex"
]; ];
propagatedBuildInputs = with python3.pkgs; [ dependencies = with python3.pkgs; [
click click
colorama colorama
cssbeautifier cssbeautifier
@ -40,11 +41,11 @@ python3.pkgs.buildPythonApplication rec {
pythonImportsCheck = [ "djlint" ]; pythonImportsCheck = [ "djlint" ];
meta = with lib; { meta = {
description = "HTML Template Linter and Formatter. Django - Jinja - Nunjucks - Handlebars - GoLang"; description = "HTML Template Linter and Formatter. Django - Jinja - Nunjucks - Handlebars - GoLang";
mainProgram = "djlint"; mainProgram = "djlint";
homepage = "https://github.com/Riverside-Healthcare/djlint"; homepage = "https://github.com/Riverside-Healthcare/djlint";
license = licenses.gpl3Only; license = lib.licenses.gpl3Only;
maintainers = with maintainers; [ traxys ]; maintainers = with lib.maintainers; [ traxys ];
}; };
} }