diff --git a/pkgs/development/python-modules/sphinxcontrib-spelling/default.nix b/pkgs/development/python-modules/sphinxcontrib-spelling/default.nix index 6239ba0bc83c..0a0c0ec6ddeb 100644 --- a/pkgs/development/python-modules/sphinxcontrib-spelling/default.nix +++ b/pkgs/development/python-modules/sphinxcontrib-spelling/default.nix @@ -10,24 +10,38 @@ buildPythonPackage rec { pname = "sphinxcontrib-spelling"; - version = "7.3.2"; + version = "7.3.3"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - sha256 = "9d66dc4990749c5ac52e7eaf17e82f4dc6b4aff6515d26bbf48821829d41bd02"; + hash = "sha256-OBnRJinZXgyQkiT6QLRipn4K2zIdUCg9f8DRFobIrH4="; }; - propagatedBuildInputs = [ sphinx pyenchant pbr ] - ++ lib.optionals (pythonOlder "3.8") [ importlib-metadata ]; + nativeBuildInputs = [ + pbr + ]; + + propagatedBuildInputs = [ + sphinx + pyenchant + ] ++ lib.optionals (pythonOlder "3.8") [ + importlib-metadata + ]; # No tests included doCheck = false; + pythonImportsCheck = [ + "sphinxcontrib.spelling" + ]; + meta = with lib; { description = "Sphinx spelling extension"; - homepage = "https://bitbucket.org/dhellmann/sphinxcontrib-spelling"; - maintainers = with maintainers; [ ]; + homepage = "https://github.com/sphinx-contrib/spelling"; license = licenses.bsd2; + maintainers = with maintainers; [ ]; }; - }