1 { lib, buildPythonPackage, sphinx, fetchFromGitHub, pandoc }:
3 buildPythonPackage rec {
4 pname = "sphinx-issues";
6 outputs = [ "out" "doc" ];
8 src = fetchFromGitHub {
10 repo = "sphinx-issues";
12 sha256 = "1lns6isq9kwcw8z4jwgy927f7idx9srvri5adaa5zmypw5x47hha";
15 pythonImportsCheck = [ "sphinx_issues" ];
17 propagatedBuildInputs = [ sphinx ];
19 nativeBuildInputs = [ pandoc ];
22 pandoc -f rst -t html --standalone < README.rst > README.html
26 mkdir -p $doc/share/doc/$name/html
27 cp README.html $doc/share/doc/$name/html
31 homepage = "https://github.com/sloria/sphinx-issues";
32 description = "Sphinx extension for linking to your project's issue tracker.";
33 license = licenses.mit;
34 maintainers = with maintainers; [ kaction ];