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