[staging] python3.pkgs.sphinx-issues: avoid use of pandoc in build closure (riscv64-fix) (#393093)

This commit is contained in:
Jörg Thalheim
2025-04-30 10:35:29 +02:00
committed by GitHub
@@ -3,17 +3,11 @@
buildPythonPackage,
sphinx,
fetchFromGitHub,
pandoc,
}:
buildPythonPackage rec {
pname = "sphinx-issues";
version = "3.0.1";
format = "setuptools";
outputs = [
"out"
"doc"
];
src = fetchFromGitHub {
owner = "sloria";
@@ -26,17 +20,6 @@ buildPythonPackage rec {
propagatedBuildInputs = [ sphinx ];
nativeBuildInputs = [ pandoc ];
postBuild = ''
pandoc -f rst -t html --standalone < README.rst > README.html
'';
postInstall = ''
mkdir -p $doc/share/doc/$name/html
cp README.html $doc/share/doc/$name/html
'';
meta = with lib; {
homepage = "https://github.com/sloria/sphinx-issues";
description = "Sphinx extension for linking to your project's issue tracker";