djhtml: init at 3.0.5

This commit is contained in:
Tom Hubrecht 2023-03-13 16:12:21 +01:00
parent 86dcef07bf
commit 89fea7c828
3 changed files with 36 additions and 0 deletions

View file

@ -15038,6 +15038,12 @@
githubId = 1391883; githubId = 1391883;
name = "Tom Hall"; name = "Tom Hall";
}; };
thubrecht = {
email = "tom@hubrecht.ovh";
github = "Tom-Hubrecht";
githubId = 26650391;
name = "Tom Hubrecht";
};
Thunderbottom = { Thunderbottom = {
email = "chinmaydpai@gmail.com"; email = "chinmaydpai@gmail.com";
github = "Thunderbottom"; github = "Thunderbottom";

View file

@ -0,0 +1,28 @@
{ lib
, buildPythonApplication
, fetchFromGitHub
, pythonOlder
}:
buildPythonApplication rec {
pname = "djhtml";
version = "3.0.5";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "rtts";
repo = pname;
rev = version;
hash = "sha256-m13lw1x+URAYuDc0gXRIxfRnd6kQxeAuLDqYXeOgQE0=";
};
pythonImportsCheck = [ "djhtml" ];
meta = with lib; {
homepage = "https://github.com/rtts/djhtml";
description = "Django/Jinja template indenter";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ thubrecht ];
};
}

View file

@ -488,6 +488,8 @@ with pkgs;
dinghy = with python3Packages; toPythonApplication dinghy; dinghy = with python3Packages; toPythonApplication dinghy;
djhtml = callPackage ../development/tools/djhtml { };
deadcode = callPackage ../development/tools/deadcode { }; deadcode = callPackage ../development/tools/deadcode { };
deadnix = callPackage ../development/tools/deadnix { }; deadnix = callPackage ../development/tools/deadnix { };