2023-03-13 15:12:21 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonApplication
|
|
|
|
, fetchFromGitHub
|
|
|
|
, pythonOlder
|
|
|
|
}:
|
|
|
|
buildPythonApplication rec {
|
|
|
|
pname = "djhtml";
|
2024-10-23 05:35:59 +00:00
|
|
|
version = "3.0.7";
|
2023-03-13 15:12:21 +00:00
|
|
|
|
|
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "rtts";
|
|
|
|
repo = pname;
|
2024-01-24 13:45:43 +00:00
|
|
|
rev = "refs/tags/${version}";
|
2024-10-23 05:35:59 +00:00
|
|
|
hash = "sha256-W93J3UFUrCqT718zoGcu96ORYFt0NLyYP7iVWbr8FYo=";
|
2023-03-13 15:12:21 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "djhtml" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/rtts/djhtml";
|
|
|
|
description = "Django/Jinja template indenter";
|
|
|
|
license = licenses.gpl3Plus;
|
2024-07-28 14:44:11 +00:00
|
|
|
maintainers = [ ];
|
2023-03-13 15:12:21 +00:00
|
|
|
};
|
|
|
|
}
|