python3Packages.apache-beam: fix build

This commit is contained in:
Samuel Ainsworth
2022-01-28 10:47:24 -08:00
committed by Jonathan Ringer
parent da815397a7
commit 5b958f0c22
@@ -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 = [