1{ lib 2, buildPythonPackage 3, fetchPypi 4, sphinx 5, sphinxcontrib-serializinghtml 6}: 7 8buildPythonPackage rec { 9 pname = "sphinxcontrib-programoutput"; 10 version = "0.17"; 11 12 src = fetchPypi { 13 inherit pname version; 14 hash = "sha256-MA7puMrug1XSXMdLTRx+/RLmCNKtFl4xQdMeb7wVK38="; 15 }; 16 17 buildInputs = [ 18 sphinx 19 ]; 20 21 # fails to import sphinxcontrib.serializinghtml 22 doCheck = false; 23 24 pythonImportsCheck = [ "sphinxcontrib.programoutput" ]; 25 26 pythonNamespaces = [ "sphinxcontrib" ]; 27 28 meta = with lib; { 29 description = "Sphinx extension to include program output"; 30 homepage = "https://github.com/NextThought/sphinxcontrib-programoutput"; 31 license = licenses.bsd2; 32 maintainers = with maintainers; [ ]; 33 }; 34}