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