python310Packages.extractcode: fix invalid version specifier

This commit is contained in:
Fabian Affolter 2023-03-02 12:40:00 +01:00 committed by Martin Weinelt
parent babc53097a
commit f0443b2843

View File

@ -23,6 +23,12 @@ buildPythonPackage rec {
hash = "sha256-gIGTkum8+BKfdNiQT+ipjA3+0ngjVoQnNygsAoMRPYg=";
};
postPatch = ''
# PEP440 support was removed in newer setuptools, https://github.com/nexB/extractcode/pull/46
substituteInPlace setup.cfg \
--replace ">=3.6.*" ">=3.6"
'';
dontConfigure = true;
nativeBuildInputs = [