|
|
|
@ -1,7 +1,12 @@ |
|
|
|
|
{ lib |
|
|
|
|
, buildPythonPackage |
|
|
|
|
, cirq-aqt |
|
|
|
|
, cirq-core |
|
|
|
|
, cirq-google |
|
|
|
|
, cirq-ionq |
|
|
|
|
, cirq-pasqal |
|
|
|
|
, cirq-rigetti |
|
|
|
|
, cirq-web |
|
|
|
|
# test inputs |
|
|
|
|
, pytestCheckHook |
|
|
|
|
}: |
|
|
|
@ -11,8 +16,13 @@ buildPythonPackage rec { |
|
|
|
|
inherit (cirq-core) version src meta; |
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ |
|
|
|
|
cirq-aqt |
|
|
|
|
cirq-core |
|
|
|
|
cirq-ionq |
|
|
|
|
cirq-google |
|
|
|
|
cirq-rigetti |
|
|
|
|
cirq-pasqal |
|
|
|
|
cirq-web |
|
|
|
|
]; |
|
|
|
|
|
|
|
|
|
# pythonImportsCheck = [ "cirq" "cirq.Circuit" ]; # cirq's importlib hook doesn't work here |
|
|
|
@ -20,8 +30,13 @@ buildPythonPackage rec { |
|
|
|
|
|
|
|
|
|
# Don't run submodule or development tool tests |
|
|
|
|
disabledTestPaths = [ |
|
|
|
|
"cirq-google" |
|
|
|
|
"cirq-aqt" |
|
|
|
|
"cirq-core" |
|
|
|
|
"cirq-google" |
|
|
|
|
"cirq-ionq" |
|
|
|
|
"cirq-pasqal" |
|
|
|
|
"cirq-rigetti" |
|
|
|
|
"cirq-web" |
|
|
|
|
"dev_tools" |
|
|
|
|
]; |
|
|
|
|
|
|
|
|
|