blob: 4e4342f36fb67a837d55fb2648e0264c65e587e7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
{ lib
, buildPythonApplication
, fetchFromGitHub
, pythonOlder
}:
buildPythonApplication rec {
pname = "djhtml";
version = "3.0.6";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "rtts";
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-3bviLyTLpHcAUWAaAmNZukWBDwFs8yFOAxl2bSk9GNY=";
};
pythonImportsCheck = [ "djhtml" ];
meta = with lib; {
homepage = "https://github.com/rtts/djhtml";
description = "Django/Jinja template indenter";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ thubrecht ];
};
}
|