Skip to content

Commit

Permalink
djhtml: 3.0.6 -> 3.0.7 (#350641)
Browse files Browse the repository at this point in the history
  • Loading branch information
NickCao authored Nov 2, 2024
2 parents 6753bd2 + f3305a5 commit c31aee6
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions pkgs/development/tools/djhtml/default.nix
Original file line number Diff line number Diff line change
@@ -1,28 +1,30 @@
{ lib
, buildPythonApplication
, fetchFromGitHub
, pythonOlder
, setuptools
}:
buildPythonApplication rec {
pname = "djhtml";
version = "3.0.6";

format = "setuptools";
disabled = pythonOlder "3.7";
version = "3.0.7";
pyproject = true;

src = fetchFromGitHub {
owner = "rtts";
repo = pname;
repo = "djhtml";
rev = "refs/tags/${version}";
hash = "sha256-3bviLyTLpHcAUWAaAmNZukWBDwFs8yFOAxl2bSk9GNY=";
hash = "sha256-W93J3UFUrCqT718zoGcu96ORYFt0NLyYP7iVWbr8FYo=";
};

build-system = [ setuptools ];

pythonImportsCheck = [ "djhtml" ];

meta = with lib; {
homepage = "https://github.com/rtts/djhtml";
description = "Django/Jinja template indenter";
changelog = "https://github.com/rtts/djhtml/releases/tag/${version}";
license = licenses.gpl3Plus;
maintainers = [ ];
mainProgram = "djhtml";
};
}

0 comments on commit c31aee6

Please sign in to comment.