1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-20 04:31:52 +00:00

Add sphinx autoapi 1.5.1

This commit is contained in:
Karol Chmist 2020-09-18 10:41:27 +02:00 committed by Jonathan Ringer
parent 324ed9d79a
commit 002a5f9de1
2 changed files with 45 additions and 0 deletions

View file

@ -0,0 +1,43 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, pythonOlder
, astroid
, jinja2
, sphinx
, pyyaml
, unidecode
, mock
, pytest
}:
buildPythonPackage rec {
pname = "sphinx-autoapi";
version = "1.5.1";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "19m9yvlqwaw3b05lbb1vcla38irn4riw2ij0vjmnc2xq4f1qfl2d";
};
propagatedBuildInputs = [ astroid jinja2 pyyaml sphinx unidecode ];
checkInputs = [
mock
pytest
];
checkPhase = ''
pytest
'';
meta = with stdenv.lib; {
homepage = "https://github.com/readthedocs/sphinx-autoapi";
description = "Provides 'autodoc' style documentation";
longDescription = "Sphinx AutoAPI provides 'autodoc' style documentation for multiple programming languages without needing to load, run, or import the project being documented.";
license = licenses.mit;
maintainers = with maintainers; [ karolchmist ];
};
}

View file

@ -6780,6 +6780,8 @@ in {
sphinxcontrib-applehelp = callPackage ../development/python-modules/sphinxcontrib-applehelp { };
sphinxcontrib-autoapi = callPackage ../development/python-modules/sphinxcontrib-autoapi { };
sphinxcontrib-bibtex = callPackage ../development/python-modules/sphinxcontrib-bibtex { };
sphinxcontrib-blockdiag = callPackage ../development/python-modules/sphinxcontrib-blockdiag { };