From 4118f0451e6b1589b74d2bdb97e37819a290c6d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Tue, 25 Mar 2025 15:33:32 +0100 Subject: [PATCH] python3.pkgs.sphinx-issues: avoid use of pandoc in build closure Shipping an HTML version of the Readme for a library is a bit uncommon in nixpkgs. We don't do this for any other package because it will also a bit awkward to access directly (libraries don't get included into environment.systemPackages directly for instance). Including pandoc in the build closure makes this derivation unusuable on riscv64 and other platforms that are not supported by ghc. Since this package is now part of NixOS integration tests this break evaluation of all riscv64-based NixOS tests. --- .../python-modules/sphinx-issues/default.nix | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/pkgs/development/python-modules/sphinx-issues/default.nix b/pkgs/development/python-modules/sphinx-issues/default.nix index ea8f4268fb97..65d224bb9cca 100644 --- a/pkgs/development/python-modules/sphinx-issues/default.nix +++ b/pkgs/development/python-modules/sphinx-issues/default.nix @@ -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";