python.pkgs.astroid: fixup build

This commit is contained in:
Frederik Rietdijk 2020-06-07 11:50:01 +02:00
parent 5b0379ba90
commit 3611cc77f9
1 changed files with 4 additions and 0 deletions

View File

@ -14,6 +14,10 @@ buildPythonPackage rec {
sha256 = "4c17cea3e592c21b6e222f673868961bad77e1f985cb1694ed077475a89229c1";
};
postPatch = ''
substituteInPlace astroid/__pkginfo__.py --replace "lazy_object_proxy==1.4.*" "lazy_object_proxy"
'';
# From astroid/__pkginfo__.py
propagatedBuildInputs = [ lazy-object-proxy six wrapt ]
++ lib.optional (pythonOlder "3.5") typing