Merge pull request #193306 from r-ryantm/auto-update/python310Packages.sphinxcontrib-autoapi

This commit is contained in:
Martin Weinelt 2022-09-29 00:29:59 +02:00 committed by GitHub
commit f9b88ddbac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,45 +1,52 @@
{ stdenv
, lib
{ lib
, astroid
, buildPythonPackage
, fetchPypi
, pythonOlder
, astroid
, jinja2
, sphinx
, pyyaml
, unidecode
, mock
, pytest
, pytestCheckHook
, pythonOlder
, pyyaml
, sphinx
, stdenv
, unidecode
}:
buildPythonPackage rec {
pname = "sphinx-autoapi";
version = "1.9.0";
disabled = pythonOlder "3.6";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-yJfqM33xatDN4wfL3+K+ziB3iN3hWH+k/IuFfR/F3Lo=";
hash = "sha256-yJfqM33xatDN4wfL3+K+ziB3iN3hWH+k/IuFfR/F3Lo=";
};
propagatedBuildInputs = [ astroid jinja2 pyyaml sphinx unidecode ];
propagatedBuildInputs = [
astroid
jinja2
pyyaml
sphinx
unidecode
];
checkInputs = [
mock
pytest
pytestCheckHook
];
checkPhase = ''
pytest
'';
pythonImportsCheck = [
"autoapi"
];
meta = with lib; {
broken = stdenv.isDarwin;
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 ];
broken = stdenv.isDarwin;
};
}