504525a148
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
47 lines
774 B
Nix
47 lines
774 B
Nix
{ buildPythonPackage
|
|
, cirq-aqt
|
|
, cirq-core
|
|
, cirq-ft
|
|
, cirq-google
|
|
, cirq-ionq
|
|
, cirq-pasqal
|
|
, cirq-rigetti
|
|
, cirq-web
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "cirq";
|
|
format = "setuptools";
|
|
inherit (cirq-core) version src meta;
|
|
|
|
propagatedBuildInputs = [
|
|
cirq-aqt
|
|
cirq-core
|
|
cirq-ft
|
|
cirq-ionq
|
|
cirq-google
|
|
cirq-rigetti
|
|
cirq-pasqal
|
|
cirq-web
|
|
];
|
|
|
|
# pythonImportsCheck = [ "cirq" "cirq.Circuit" ]; # cirq's importlib hook doesn't work here
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
];
|
|
|
|
# Don't run submodule or development tool tests
|
|
disabledTestPaths = [
|
|
"cirq-aqt"
|
|
"cirq-core"
|
|
"cirq-ft"
|
|
"cirq-google"
|
|
"cirq-ionq"
|
|
"cirq-pasqal"
|
|
"cirq-rigetti"
|
|
"cirq-web"
|
|
"dev_tools"
|
|
];
|
|
|
|
}
|