2021-12-06 16:07:01 +00:00
|
|
|
{ buildPythonPackage
|
|
|
|
, cirq-aqt
|
2021-05-20 23:08:51 +00:00
|
|
|
, cirq-core
|
2023-10-19 13:55:26 +00:00
|
|
|
, cirq-ft
|
2021-05-20 23:08:51 +00:00
|
|
|
, cirq-google
|
2021-12-06 16:07:01 +00:00
|
|
|
, cirq-ionq
|
|
|
|
, cirq-pasqal
|
|
|
|
, cirq-rigetti
|
|
|
|
, cirq-web
|
2020-04-24 23:36:52 +00:00
|
|
|
, pytestCheckHook
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "cirq";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2021-05-20 23:08:51 +00:00
|
|
|
inherit (cirq-core) version src meta;
|
2020-09-25 04:45:31 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
propagatedBuildInputs = [
|
2021-12-06 16:07:01 +00:00
|
|
|
cirq-aqt
|
2021-05-20 23:08:51 +00:00
|
|
|
cirq-core
|
2023-10-19 13:55:26 +00:00
|
|
|
cirq-ft
|
2021-12-06 16:07:01 +00:00
|
|
|
cirq-ionq
|
2021-05-20 23:08:51 +00:00
|
|
|
cirq-google
|
2021-12-06 16:07:01 +00:00
|
|
|
cirq-rigetti
|
|
|
|
cirq-pasqal
|
|
|
|
cirq-web
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
2020-09-25 04:45:31 +00:00
|
|
|
# pythonImportsCheck = [ "cirq" "cirq.Circuit" ]; # cirq's importlib hook doesn't work here
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [
|
2022-07-14 12:49:19 +00:00
|
|
|
pytestCheckHook
|
|
|
|
];
|
2020-05-15 21:57:56 +00:00
|
|
|
|
2021-05-20 23:08:51 +00:00
|
|
|
# Don't run submodule or development tool tests
|
|
|
|
disabledTestPaths = [
|
2021-12-06 16:07:01 +00:00
|
|
|
"cirq-aqt"
|
2021-05-20 23:08:51 +00:00
|
|
|
"cirq-core"
|
2023-10-19 13:55:26 +00:00
|
|
|
"cirq-ft"
|
2021-12-06 16:07:01 +00:00
|
|
|
"cirq-google"
|
|
|
|
"cirq-ionq"
|
|
|
|
"cirq-pasqal"
|
|
|
|
"cirq-rigetti"
|
|
|
|
"cirq-web"
|
2021-05-20 23:08:51 +00:00
|
|
|
"dev_tools"
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
}
|