mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 04:45:39 +00:00
sphinx-automodapi: init at 0.14.1
This commit is contained in:
parent
ec681835ec
commit
0a39f28f48
@ -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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user