1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 sphinx,
6 sphinxcontrib-serializinghtml,
7}:
8
9buildPythonPackage rec {
10 pname = "sphinxcontrib-programoutput";
11 version = "0.17";
12 format = "setuptools";
13
14 src = fetchPypi {
15 inherit pname version;
16 hash = "sha256-MA7puMrug1XSXMdLTRx+/RLmCNKtFl4xQdMeb7wVK38=";
17 };
18
19 buildInputs = [ sphinx ];
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 = [ ];
33 };
34}