flirt: init at 0.2 (#362189)
[NixPkgs.git] / pkgs / development / tools / djhtml / default.nix
blob1859249eb0f3cd9cf6498ebe6242747891d42232
1 { lib
2 , buildPythonApplication
3 , fetchFromGitHub
4 , setuptools
5 }:
6 buildPythonApplication rec {
7   pname = "djhtml";
8   version = "3.0.7";
9   pyproject = true;
11   src = fetchFromGitHub {
12     owner = "rtts";
13     repo = "djhtml";
14     rev = "refs/tags/${version}";
15     hash = "sha256-W93J3UFUrCqT718zoGcu96ORYFt0NLyYP7iVWbr8FYo=";
16   };
18   build-system = [ setuptools ];
20   pythonImportsCheck = [ "djhtml" ];
22   meta = with lib; {
23     homepage = "https://github.com/rtts/djhtml";
24     description = "Django/Jinja template indenter";
25     changelog = "https://github.com/rtts/djhtml/releases/tag/${version}";
26     license = licenses.gpl3Plus;
27     maintainers = [ ];
28     mainProgram = "djhtml";
29   };