tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
python312Packages.cirq-google: fix build
Gaetan Lepage
1 year ago
ffc42485
d9a21992
+2
-14
1 changed file
expand all
collapse all
unified
split
pkgs
development
python-modules
cirq-google
default.nix
+2
-14
pkgs/development/python-modules/cirq-google/default.nix
···
1
1
{
2
2
buildPythonPackage,
3
3
+
setuptools,
3
4
cirq-core,
4
4
-
freezegun,
5
5
google-api-core,
6
6
protobuf,
7
7
+
freezegun,
7
8
pytestCheckHook,
8
8
-
setuptools,
9
9
-
protobuf4,
10
10
-
fetchpatch,
11
9
}:
12
10
13
11
buildPythonPackage rec {
···
18
16
sourceRoot = "${src.name}/${pname}";
19
17
20
18
build-system = [ setuptools ];
21
21
-
22
22
-
patches = [
23
23
-
# https://github.com/quantumlib/Cirq/pull/6683 Support for protobuf5
24
24
-
(fetchpatch {
25
25
-
url = "https://github.com/quantumlib/Cirq/commit/bae02e4d83aafa29f50aa52073d86eb913ccb2d3.patch";
26
26
-
hash = "sha256-MqHhKa38BTM6viQtWik0TQjN0OPdrwzCZkkqZsiyF5w=";
27
27
-
includes = [ "cirq_google/serialization/arg_func_langs_test.py" ];
28
28
-
stripLen = 1;
29
29
-
})
30
30
-
];
31
19
32
20
pythonRelaxDeps = [
33
21
"protobuf"