lol

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

authored by

Martin Weinelt and committed by
GitHub
f9b88ddb 28e90d37

+23 -16
+23 -16
pkgs/development/python-modules/sphinxcontrib-autoapi/default.nix
··· 1 - { stdenv 2 - , lib 1 + { lib 2 + , astroid 3 3 , buildPythonPackage 4 4 , fetchPypi 5 - , pythonOlder 6 - , astroid 7 5 , jinja2 8 - , sphinx 6 + , mock 7 + , pytestCheckHook 8 + , pythonOlder 9 9 , pyyaml 10 + , sphinx 11 + , stdenv 10 12 , unidecode 11 - , mock 12 - , pytest 13 13 }: 14 14 15 15 buildPythonPackage rec { 16 16 pname = "sphinx-autoapi"; 17 17 version = "1.9.0"; 18 - disabled = pythonOlder "3.6"; 18 + format = "setuptools"; 19 + 20 + disabled = pythonOlder "3.7"; 19 21 20 22 src = fetchPypi { 21 23 inherit pname version; 22 - sha256 = "sha256-yJfqM33xatDN4wfL3+K+ziB3iN3hWH+k/IuFfR/F3Lo="; 24 + hash = "sha256-yJfqM33xatDN4wfL3+K+ziB3iN3hWH+k/IuFfR/F3Lo="; 23 25 }; 24 26 25 - propagatedBuildInputs = [ astroid jinja2 pyyaml sphinx unidecode ]; 27 + propagatedBuildInputs = [ 28 + astroid 29 + jinja2 30 + pyyaml 31 + sphinx 32 + unidecode 33 + ]; 26 34 27 35 checkInputs = [ 28 36 mock 29 - pytest 37 + pytestCheckHook 30 38 ]; 31 39 32 - checkPhase = '' 33 - pytest 34 - ''; 40 + pythonImportsCheck = [ 41 + "autoapi" 42 + ]; 35 43 36 44 meta = with lib; { 37 - broken = stdenv.isDarwin; 38 45 homepage = "https://github.com/readthedocs/sphinx-autoapi"; 39 46 description = "Provides 'autodoc' style documentation"; 40 47 longDescription = "Sphinx AutoAPI provides 'autodoc' style documentation for multiple programming languages without needing to load, run, or import the project being documented."; 41 48 license = licenses.mit; 42 49 maintainers = with maintainers; [ karolchmist ]; 50 + broken = stdenv.isDarwin; 43 51 }; 44 - 45 52 }