From ffc4248519db54956b14a1455959f877e96fa342 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Sat, 22 Feb 2025 13:38:29 +0100 Subject: [PATCH] python312Packages.cirq-google: fix build --- .../python-modules/cirq-google/default.nix | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/pkgs/development/python-modules/cirq-google/default.nix b/pkgs/development/python-modules/cirq-google/default.nix index efb00a62ad3a..c5beb6192b74 100644 --- a/pkgs/development/python-modules/cirq-google/default.nix +++ b/pkgs/development/python-modules/cirq-google/default.nix @@ -1,13 +1,11 @@ { buildPythonPackage, + setuptools, cirq-core, - freezegun, google-api-core, protobuf, + freezegun, pytestCheckHook, - setuptools, - protobuf4, - fetchpatch, }: buildPythonPackage rec { @@ -19,16 +17,6 @@ buildPythonPackage rec { build-system = [ setuptools ]; - patches = [ - # https://github.com/quantumlib/Cirq/pull/6683 Support for protobuf5 - (fetchpatch { - url = "https://github.com/quantumlib/Cirq/commit/bae02e4d83aafa29f50aa52073d86eb913ccb2d3.patch"; - hash = "sha256-MqHhKa38BTM6viQtWik0TQjN0OPdrwzCZkkqZsiyF5w="; - includes = [ "cirq_google/serialization/arg_func_langs_test.py" ]; - stripLen = 1; - }) - ]; - pythonRelaxDeps = [ "protobuf" ];