Unverified Commit 1a16c75b authored by Ryan Lahfa's avatar Ryan Lahfa Committed by GitHub
Browse files

Merge pull request #221007 from Tom-Hubrecht/djhtml

djhtml: init at 3.0.5
parents 561e7739 89fea7c8
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -15161,6 +15161,12 @@
    githubId = 1391883;
    name = "Tom Hall";
  };
  thubrecht = {
    email = "tom@hubrecht.ovh";
    github = "Tom-Hubrecht";
    githubId = 26650391;
    name = "Tom Hubrecht";
  };
  Thunderbottom = {
    email = "chinmaydpai@gmail.com";
    github = "Thunderbottom";
+28 −0
Original line number Diff line number Diff line
{ 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 ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -494,6 +494,8 @@ with pkgs;
  dinghy = with python3Packages; toPythonApplication dinghy;
  djhtml = callPackage ../development/tools/djhtml { };
  deadcode = callPackage ../development/tools/deadcode { };
  deadnix = callPackage ../development/tools/deadnix { };