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