2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
sphinx,
|
|
|
|
sphinxcontrib-serializinghtml,
|
2022-02-20 05:27:41 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "sphinxcontrib-programoutput";
|
|
|
|
version = "0.17";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2022-02-20 05:27:41 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-03-15 16:39:30 +00:00
|
|
|
hash = "sha256-MA7puMrug1XSXMdLTRx+/RLmCNKtFl4xQdMeb7wVK38=";
|
2022-02-20 05:27:41 +00:00
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
buildInputs = [ sphinx ];
|
2022-02-20 05:27:41 +00:00
|
|
|
|
|
|
|
# fails to import sphinxcontrib.serializinghtml
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "sphinxcontrib.programoutput" ];
|
|
|
|
|
2023-11-16 04:20:00 +00:00
|
|
|
pythonNamespaces = [ "sphinxcontrib" ];
|
|
|
|
|
2022-02-20 05:27:41 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Sphinx extension to include program output";
|
|
|
|
homepage = "https://github.com/NextThought/sphinxcontrib-programoutput";
|
|
|
|
license = licenses.bsd2;
|
2023-08-04 22:07:22 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2022-02-20 05:27:41 +00:00
|
|
|
};
|
|
|
|
}
|