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