
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.
30 lines
661 B
Nix
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 ];
|
|
};
|
|
}
|