python312Packages.dist-meta: fix build (#396269)
This commit is contained in:
@@ -5,6 +5,8 @@
|
||||
setuptools,
|
||||
domdf-python-tools,
|
||||
handy-archives,
|
||||
hatchling,
|
||||
hatch-requirements-txt,
|
||||
packaging,
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
@@ -13,7 +15,8 @@ buildPythonPackage rec {
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
pname = "dist_meta";
|
||||
inherit version;
|
||||
hash = "sha256-+hbr1VdHRKCVlqs0IIOhHXIJ2NBc8yiR0cmFvn7Ay9c=";
|
||||
};
|
||||
|
||||
@@ -22,14 +25,11 @@ buildPythonPackage rec {
|
||||
dependencies = [
|
||||
domdf-python-tools
|
||||
handy-archives
|
||||
hatchling
|
||||
hatch-requirements-txt
|
||||
packaging
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail '"setuptools!=61.*,<=67.1.0,>=40.6.0"' '"setuptools"'
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Parse and create Python distribution metadata.";
|
||||
homepage = "https://github.com/repo-helper/dist-meta";
|
||||
|
||||
Reference in New Issue
Block a user