1{ lib
2, buildPythonPackage
3, fetchPypi
4, isPyPy
5, django
6, smartypants
7, jinja2
8}:
9
10buildPythonPackage rec {
11 pname = "typogrify";
12 version = "2.0.7";
13 disabled = isPyPy;
14
15 src = fetchPypi {
16 inherit pname version;
17 sha256 = "8be4668cda434163ce229d87ca273a11922cb1614cb359970b7dc96eed13cb38";
18 };
19
20 propagatedBuildInputs = [ django smartypants jinja2 ];
21
22 # Wants to set up Django
23 doCheck = false;
24
25 meta = with lib; {
26 description = "Filters to enhance web typography, including support for Django & Jinja templates";
27 homepage = "https://github.com/mintchaos/typogrify";
28 license = licenses.bsd3;
29 maintainers = with maintainers; [ ];
30 };
31
32}