Files
nixpkgs/pkgs/development/python-modules/cirq/default.nix
2026-08-19 18:25:48 +02:00

47 lines
781 B
Nix

{
buildPythonPackage,
cirq-aqt,
cirq-core,
cirq-google,
cirq-ionq,
cirq-pasqal,
cirq-web,
pytest-benchmark,
pytestCheckHook,
setuptools,
}:
buildPythonPackage (finalAttrs: {
pname = "cirq";
pyproject = true;
inherit (cirq-core) version src meta;
build-system = [ setuptools ];
dependencies = [
cirq-aqt
cirq-core
cirq-google
cirq-ionq
cirq-pasqal
cirq-web
];
# pythonImportsCheck = [ "cirq" "cirq.Circuit" ]; # cirq's importlib hook doesn't work here
nativeCheckInputs = [
pytest-benchmark
pytestCheckHook
];
# Don't run submodule or development tool tests
disabledTestPaths = [
"cirq-aqt"
"cirq-core"
"cirq-google"
"cirq-ionq"
"cirq-pasqal"
"cirq-web"
"dev_tools"
];
})