Jörg Thalheim 4118f0451e 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.
2025-03-25 16:12:44 +01:00

30 lines
661 B
Nix

{
lib,
buildPythonPackage,
sphinx,
fetchFromGitHub,
}:
buildPythonPackage rec {
pname = "sphinx-issues";
version = "3.0.1";
format = "setuptools";
src = fetchFromGitHub {
owner = "sloria";
repo = "sphinx-issues";
rev = version;
sha256 = "1lns6isq9kwcw8z4jwgy927f7idx9srvri5adaa5zmypw5x47hha";
};
pythonImportsCheck = [ "sphinx_issues" ];
propagatedBuildInputs = [ sphinx ];
meta = with lib; {
homepage = "https://github.com/sloria/sphinx-issues";
description = "Sphinx extension for linking to your project's issue tracker";
license = licenses.mit;
maintainers = with maintainers; [ kaction ];
};
}