diff options
Diffstat (limited to 'pkgs/development/python-modules/sphinx-autoapi/default.nix')
-rw-r--r-- | pkgs/development/python-modules/sphinx-autoapi/default.nix | 39 |
1 files changed, 19 insertions, 20 deletions
diff --git a/pkgs/development/python-modules/sphinx-autoapi/default.nix b/pkgs/development/python-modules/sphinx-autoapi/default.nix index 637c214345c4d..1da00715ba974 100644 --- a/pkgs/development/python-modules/sphinx-autoapi/default.nix +++ b/pkgs/development/python-modules/sphinx-autoapi/default.nix @@ -9,51 +9,50 @@ # dependencies astroid, - anyascii, jinja2, pyyaml, sphinx, + stdlib-list, # tests beautifulsoup4, - mock, pytestCheckHook, }: buildPythonPackage rec { pname = "sphinx-autoapi"; - version = "3.0.0"; - format = "pyproject"; + version = "3.3.2"; + pyproject = true; - disabled = pythonOlder "3.7"; + disabled = pythonOlder "3.8"; src = fetchPypi { - inherit pname version; - hash = "sha256-CevWdKMrREZyIrD7ipF7l8iVI/INvwW1LLij8OFXFN4="; + pname = "sphinx_autoapi"; + inherit version; + hash = "sha256-6/i0Sy66tcKPAmPsbC+KzdFW6bLVOaWOyjnS82hEUXM="; }; - nativeBuildInputs = [ setuptools ]; + build-system = [ setuptools ]; - propagatedBuildInputs = [ - anyascii - astroid - jinja2 - pyyaml - sphinx - ]; + dependencies = + [ + astroid + jinja2 + pyyaml + sphinx + ] + ++ lib.optionals (pythonOlder "3.10") [ + stdlib-list + ]; nativeCheckInputs = [ beautifulsoup4 - mock pytestCheckHook ]; disabledTests = [ - # failing typing assertions + # require network access "test_integration" - "test_annotations" - # sphinx.errors.SphinxWarning: cannot cache unpickable configuration value: 'autoapi_prepare_jinja_env' (because it contains a function, class, or module object) - "test_custom_jinja_filters" ]; pythonImportsCheck = [ "autoapi" ]; |