Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 28 lines 749 B view raw
1{ lib, buildPythonPackage, fetchPypi, pbr, sphinx, sphinx-testing, nose, glibcLocales }: 2 3buildPythonPackage rec { 4 pname = "sphinx-jinja"; 5 version = "1.1.0"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "02pgp9pbn0zrs0lggrc74mv6cvlnlq8wib84ga6yjvq30gda9v8q"; 10 }; 11 12 buildInputs = [ pbr ]; 13 propagatedBuildInputs = [ sphinx ]; 14 15 checkInputs = [ sphinx-testing nose glibcLocales ]; 16 17 checkPhase = '' 18 # Zip (epub) does not support files with epoch timestamp 19 LC_ALL="en_US.UTF-8" nosetests -e test_build_epub 20 ''; 21 22 meta = with lib; { 23 description = "Sphinx extension to include jinja templates in documentation"; 24 maintainers = with maintainers; [ nand0p ]; 25 license = licenses.mit; 26 broken = true; 27 }; 28}