From 09a1a639b2332bc4913b92e95b84b71b282864e8 Mon Sep 17 00:00:00 2001 From: Grimmauld Date: Sat, 5 Apr 2025 11:35:05 +0200 Subject: [PATCH] python312Packages.pyproject-parser: fix build --- .../python-modules/pyproject-parser/default.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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";