summary refs log tree commit diff
path: root/pkgs/development/python-modules/apache-beam
diff options
context:
space:
mode:
authorSamuel Ainsworth <skainsworth@gmail.com>2022-01-27 07:44:35 +0000
committerJonathan Ringer <jonringer@users.noreply.github.com>2022-01-28 10:47:24 -0800
commit5b958f0c226edd2a90d1f776cd7db0fdf47276e3 (patch)
tree31142fa1c5ca3300b4fc2b1655e021b758c9c211 /pkgs/development/python-modules/apache-beam
parentda815397a7e60c89bff5a80b24a7ca713599078e (diff)
downloadnixpkgs-5b958f0c226edd2a90d1f776cd7db0fdf47276e3.tar
nixpkgs-5b958f0c226edd2a90d1f776cd7db0fdf47276e3.tar.gz
nixpkgs-5b958f0c226edd2a90d1f776cd7db0fdf47276e3.tar.bz2
nixpkgs-5b958f0c226edd2a90d1f776cd7db0fdf47276e3.tar.lz
nixpkgs-5b958f0c226edd2a90d1f776cd7db0fdf47276e3.tar.xz
nixpkgs-5b958f0c226edd2a90d1f776cd7db0fdf47276e3.tar.zst
nixpkgs-5b958f0c226edd2a90d1f776cd7db0fdf47276e3.zip
python3Packages.apache-beam: fix build
Diffstat (limited to 'pkgs/development/python-modules/apache-beam')
-rw-r--r--pkgs/development/python-modules/apache-beam/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/apache-beam/default.nix b/pkgs/development/python-modules/apache-beam/default.nix
index 44748f2fdb0..f3e47bfc901 100644
--- a/pkgs/development/python-modules/apache-beam/default.nix
+++ b/pkgs/development/python-modules/apache-beam/default.nix
@@ -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 = [