diff --git a/pkgs/development/python-modules/pyproject-parser/default.nix b/pkgs/development/python-modules/pyproject-parser/default.nix index b3d7dde5b1c5..a8449da00a12 100644 --- a/pkgs/development/python-modules/pyproject-parser/default.nix +++ b/pkgs/development/python-modules/pyproject-parser/default.nix @@ -10,6 +10,8 @@ docutils, dom-toml, domdf-python-tools, + hatchling, + hatch-requirements-txt, natsort, packaging, readme-renderer, @@ -23,7 +25,8 @@ buildPythonPackage rec { pyproject = true; src = fetchPypi { - inherit pname version; + pname = "pyproject_parser"; + inherit version; hash = "sha256-/x3bXUJsbYs4rXPNotXK8/VohSy04M+Gk0XInoyg+3Y="; }; @@ -34,6 +37,8 @@ buildPythonPackage rec { attrs dom-toml domdf-python-tools + hatchling + hatch-requirements-txt natsort packaging shippinglabel @@ -53,11 +58,6 @@ buildPythonPackage rec { ] ++ readme-renderer.optional-dependencies.md; }; - postPatch = '' - substituteInPlace pyproject.toml \ - --replace-fail '"setuptools!=61.*,<=67.1.0,>=40.6.0"' '"setuptools"' - ''; - meta = { description = "Parser for ‘pyproject.toml’"; homepage = "https://github.com/repo-helper/pyproject-parser";