pythonPackages.typogrify: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov
2018-10-29 13:48:16 -04:00
parent fcb1e3bbba
commit eb7fbb8c37
2 changed files with 33 additions and 17 deletions

View File

@@ -0,0 +1,32 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, isPyPy
, django
, smartypants
, jinja2
}:
buildPythonPackage rec {
pname = "typogrify";
version = "2.0.7";
disabled = isPyPy;
src = fetchPypi {
inherit pname version;
sha256 = "8be4668cda434163ce229d87ca273a11922cb1614cb359970b7dc96eed13cb38";
};
propagatedBuildInputs = [ django smartypants jinja2 ];
# Wants to set up Django
doCheck = false;
meta = with stdenv.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; [ garbas ];
};
}