1{ buildPythonPackage
2, cirq-aqt
3, cirq-core
4, cirq-ft
5, cirq-google
6, cirq-ionq
7, cirq-pasqal
8, cirq-rigetti
9, cirq-web
10, pytestCheckHook
11}:
12
13buildPythonPackage rec {
14 pname = "cirq";
15 inherit (cirq-core) version src meta;
16
17 propagatedBuildInputs = [
18 cirq-aqt
19 cirq-core
20 cirq-ft
21 cirq-ionq
22 cirq-google
23 cirq-rigetti
24 cirq-pasqal
25 cirq-web
26 ];
27
28 # pythonImportsCheck = [ "cirq" "cirq.Circuit" ]; # cirq's importlib hook doesn't work here
29 nativeCheckInputs = [
30 pytestCheckHook
31 ];
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
46}