diff --git a/pkgs/development/python-modules/doc8/default.nix b/pkgs/development/python-modules/doc8/default.nix index 566a60d47f2e..1f3b4a7ba61b 100644 --- a/pkgs/development/python-modules/doc8/default.nix +++ b/pkgs/development/python-modules/doc8/default.nix @@ -16,24 +16,24 @@ buildPythonPackage rec { pname = "doc8"; - version = "1.1.2"; - format = "pyproject"; + version = "2.0.0"; + pyproject = true; - disabled = pythonOlder "3.7"; + disabled = pythonOlder "3.10"; src = fetchPypi { inherit pname version; - hash = "sha256-EiXzAUThzJfjiNuvf+PpltKJdHOlOm2uJo3d4hw1S5g="; + hash = "sha256-EmetMnWJcfvPmRRCQXo5Nce8nlJVDnNiLg5WulXqHUA="; }; - nativeBuildInputs = [ + build-system = [ setuptools-scm wheel ]; buildInputs = [ pbr ]; - propagatedBuildInputs = [ + dependencies = [ docutils chardet stevedore @@ -43,16 +43,14 @@ buildPythonPackage rec { nativeCheckInputs = [ pytestCheckHook ]; - pythonRelaxDeps = [ "docutils" ]; - pythonImportsCheck = [ "doc8" ]; - meta = with lib; { + meta = { description = "Style checker for Sphinx (or other) RST documentation"; mainProgram = "doc8"; homepage = "https://github.com/pycqa/doc8"; changelog = "https://github.com/PyCQA/doc8/releases/tag/v${version}"; - license = licenses.asl20; - maintainers = with maintainers; [ onny ]; + license = lib.licenses.asl20; + maintainers = with lib.maintainers; [ onny ]; }; }