1{
2 buildPythonPackage,
3 cirq-aqt,
4 cirq-core,
5 cirq-ft,
6 cirq-google,
7 cirq-ionq,
8 cirq-pasqal,
9 cirq-rigetti,
10 cirq-web,
11 pytestCheckHook,
12}:
13
14buildPythonPackage rec {
15 pname = "cirq";
16 format = "setuptools";
17 inherit (cirq-core) version src meta;
18
19 propagatedBuildInputs = [
20 cirq-aqt
21 cirq-core
22 cirq-ft
23 cirq-ionq
24 cirq-google
25 cirq-rigetti
26 cirq-pasqal
27 cirq-web
28 ];
29
30 # pythonImportsCheck = [ "cirq" "cirq.Circuit" ]; # cirq's importlib hook doesn't work here
31 nativeCheckInputs = [ pytestCheckHook ];
32
33 # Don't run submodule or development tool tests
34 disabledTestPaths = [
35 "cirq-aqt"
36 "cirq-core"
37 "cirq-ft"
38 "cirq-google"
39 "cirq-ionq"
40 "cirq-pasqal"
41 "cirq-rigetti"
42 "cirq-web"
43 "dev_tools"
44 ];
45}