mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-16 18:03:59 +00:00
python310Packages.extractcode: fix invalid version specifier
This commit is contained in:
parent
babc53097a
commit
f0443b2843
@ -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 = [
|
||||
|
Loading…
Reference in New Issue
Block a user