about summary refs log tree commit diff
path: root/pkgs/development/python-modules/typogrify/default.nix
blob: 81425b22f181edce82bab960c7e50bbec2120b47 (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
29
30
31
32
33
{ lib
, buildPythonPackage
, fetchPypi
, smartypants
}:

buildPythonPackage rec {
  pname = "typogrify";
  version = "2.0.7";

  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    sha256 = "8be4668cda434163ce229d87ca273a11922cb1614cb359970b7dc96eed13cb38";
  };

  propagatedBuildInputs = [
    smartypants
  ];

  # Wants to set up Django
  doCheck = false;

  pythonImportsCheck = [ "typogrify.filters" ];

  meta = with lib; {
    description = "Filters to enhance web typography, including support for Django & Jinja templates";
    homepage = "https://github.com/mintchaos/typogrify";
    license = licenses.bsd3;
    maintainers = with maintainers; [ dotlambda ];
  };
}