sphinx-automodapi: init at 0.14.1

This commit is contained in:
Bernardo Meurer 2022-10-07 15:03:56 -03:00
parent ec681835ec
commit 0a39f28f48
No known key found for this signature in database
2 changed files with 46 additions and 0 deletions

View File

@ -0,0 +1,44 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
, sphinx
, gcc
, cython
}:
buildPythonPackage rec {
pname = "sphinx-automodapi";
version = "0.14.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "astropy";
repo = pname;
rev = "v${version}";
hash = "sha256-olD9LIyFCNEu287wQIRqoabfrdcdyZpNc69jq/e1304=";
};
propagatedBuildInputs = [ sphinx ];
# https://github.com/astropy/sphinx-automodapi/issues/155
doCheck = false;
checkInputs = [
pytestCheckHook
gcc
cython
];
pythonImportsCheck = [ "sphinx_automodapi" ];
meta = with lib; {
description = "Sphinx extension for generating API documentation";
homepage = "https://github.com/astropy/sphinx-automodapi";
license = licenses.bsd3;
maintainers = with maintainers; [ lovesegfault ];
};
}

View File

@ -10447,6 +10447,8 @@ in {
spinners = callPackage ../development/python-modules/spinners { };
sphinx-automodapi = callPackage ../development/python-modules/sphinx-automodapi { };
sphinx-better-theme = callPackage ../development/python-modules/sphinx-better-theme { };
sphinx-book-theme = callPackage ../development/python-modules/sphinx-book-theme { };