python3Packages.apache-beam: fix build

This commit is contained in:
Samuel Ainsworth 2022-01-27 07:44:35 +00:00 committed by Jonathan Ringer
parent da815397a7
commit 5b958f0c22

View file

@ -57,6 +57,12 @@ buildPythonPackage rec {
./fix-cython.patch
];
# See https://github.com/NixOS/nixpkgs/issues/156957.
postPatch = ''
substituteInPlace setup.py \
--replace "typing-extensions>=3.7.0,<4" "typing-extensions"
'';
sourceRoot = "source/sdks/python";
nativeBuildInputs = [