2021-11-12 09:22:34 +00:00
|
|
|
{ buildPythonPackage
|
2021-10-29 21:18:34 +00:00
|
|
|
, cirq-aqt
|
2021-05-19 22:43:52 +00:00
|
|
|
, cirq-core
|
|
|
|
, cirq-google
|
2021-10-29 21:18:34 +00:00
|
|
|
, cirq-ionq
|
|
|
|
, cirq-pasqal
|
|
|
|
, cirq-rigetti
|
|
|
|
, cirq-web
|
2020-01-17 02:28:43 +00:00
|
|
|
, pytestCheckHook
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "cirq";
|
2021-05-19 22:43:52 +00:00
|
|
|
inherit (cirq-core) version src meta;
|
2020-09-01 01:56:40 +00:00
|
|
|
|
2020-01-17 02:28:43 +00:00
|
|
|
propagatedBuildInputs = [
|
2021-10-29 21:18:34 +00:00
|
|
|
cirq-aqt
|
2021-05-19 22:43:52 +00:00
|
|
|
cirq-core
|
2021-10-29 21:18:34 +00:00
|
|
|
cirq-ionq
|
2021-05-19 22:43:52 +00:00
|
|
|
cirq-google
|
2021-10-29 21:18:34 +00:00
|
|
|
cirq-rigetti
|
|
|
|
cirq-pasqal
|
|
|
|
cirq-web
|
2020-01-17 02:28:43 +00:00
|
|
|
];
|
|
|
|
|
2020-09-01 01:56:40 +00:00
|
|
|
# pythonImportsCheck = [ "cirq" "cirq.Circuit" ]; # cirq's importlib hook doesn't work here
|
2022-07-07 22:00:30 +00:00
|
|
|
checkInputs = [
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
2020-05-11 23:00:17 +00:00
|
|
|
|
2021-05-19 22:43:52 +00:00
|
|
|
# Don't run submodule or development tool tests
|
|
|
|
disabledTestPaths = [
|
2021-10-29 21:18:34 +00:00
|
|
|
"cirq-aqt"
|
2021-05-19 22:43:52 +00:00
|
|
|
"cirq-core"
|
2021-10-29 21:18:34 +00:00
|
|
|
"cirq-google"
|
|
|
|
"cirq-ionq"
|
|
|
|
"cirq-pasqal"
|
|
|
|
"cirq-rigetti"
|
|
|
|
"cirq-web"
|
2021-05-19 22:43:52 +00:00
|
|
|
"dev_tools"
|
2020-04-16 23:18:12 +00:00
|
|
|
];
|
2020-01-17 02:28:43 +00:00
|
|
|
|
|
|
|
}
|