From 6d565c8b698c30571c02041b5d12113a806427d3 Mon Sep 17 00:00:00 2001 From: Jonathan Ringer Date: Sat, 29 Aug 2020 11:53:11 -0700 Subject: [PATCH] python3Packages.cirq: fix build --- pkgs/development/python-modules/cirq/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/python-modules/cirq/default.nix b/pkgs/development/python-modules/cirq/default.nix index 83fc0d371c1d..72a2edeab12a 100644 --- a/pkgs/development/python-modules/cirq/default.nix +++ b/pkgs/development/python-modules/cirq/default.nix @@ -48,6 +48,11 @@ buildPythonPackage rec { }) ]; + postPatch = '' + substituteInPlace requirements.txt \ + --replace "protobuf~=3.12.0" "protobuf~=3.12" + ''; + propagatedBuildInputs = [ freezegun google_api_core