2022-02-18 16:02:17 +01:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
sphinx,
|
|
|
|
sphinxcontrib-serializinghtml,
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "sphinxcontrib-programoutput";
|
|
|
|
version = "0.17";
|
2023-12-07 16:53:02 +13:00
|
|
|
format = "setuptools";
|
2022-02-18 16:02:17 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-03-03 01:48:06 +01:00
|
|
|
hash = "sha256-MA7puMrug1XSXMdLTRx+/RLmCNKtFl4xQdMeb7wVK38=";
|
2022-02-18 16:02:17 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ sphinx ];
|
|
|
|
|
|
|
|
# fails to import sphinxcontrib.serializinghtml
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "sphinxcontrib.programoutput" ];
|
|
|
|
|
2023-10-06 13:00:07 +09:00
|
|
|
pythonNamespaces = [ "sphinxcontrib" ];
|
|
|
|
|
2022-02-18 16:02:17 +01:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Sphinx extension to include program output";
|
|
|
|
homepage = "https://github.com/NextThought/sphinxcontrib-programoutput";
|
|
|
|
license = licenses.bsd2;
|
2023-07-23 19:30:22 +02:00
|
|
|
maintainers = with maintainers; [ ];
|
2022-02-18 16:02:17 +01:00
|
|
|
};
|
|
|
|
}
|