python310Packages.typecode: fix invalid version specifier

This commit is contained in:
Fabian Affolter 2023-03-02 12:31:37 +01:00 committed by Martin Weinelt
parent 64e01597b3
commit b10c1c2832

View File

@ -25,6 +25,12 @@ buildPythonPackage rec {
hash = "sha256-pRGLU/xzQQqDZMIsrq1Fy7VgGIpFjnHtpmO+yL7t4g8=";
};
postPatch = ''
# PEP440 support was removed in newer setuptools, https://github.com/nexB/typecode/pull/31
substituteInPlace setup.cfg \
--replace ">=3.6.*" ">=3.6"
'';
dontConfigure = true;
nativeBuildInputs = [