python312Packages.pyproject-parser: fix build (#396274)
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user