python310Packages.container-inspector: fix invalid version specifier

This commit is contained in:
Fabian Affolter 2023-03-02 12:22:42 +01:00 committed by Martin Weinelt
parent 678a43facb
commit da8f2be23b

View File

@ -28,6 +28,12 @@ buildPythonPackage rec {
dontConfigure = true;
postPatch = ''
# PEP440 support was removed in newer setuptools, https://github.com/nexB/container-inspector/pull/51
substituteInPlace setup.cfg \
--replace ">=3.7.*" ">=3.7"
'';
nativeBuildInputs = [
setuptools-scm
];