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