1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pythonOlder, 6 sphinx, 7}: 8 9buildPythonPackage rec { 10 pname = "sphinx-jinja"; 11 version = "2.0.2"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.6"; 15 16 src = fetchPypi { 17 inherit pname version; 18 hash = "sha256-xiMrWaiUE5dwvh3G0LAKN55CiM54FXkE4fhHPeo+Bxg="; 19 }; 20 21 propagatedBuildInputs = [ sphinx ]; 22 23 # upstream source is not updated to 2.0.X and pypi does not contain tests 24 doCheck = false; 25 26 pythonImportsCheck = [ "sphinx_jinja" ]; 27 28 meta = with lib; { 29 description = "Sphinx extension to include jinja templates in documentation"; 30 homepage = "https://github.com/tardyp/sphinx-jinja"; 31 maintainers = [ ]; 32 license = licenses.mit; 33 }; 34}