Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
49 lines
767 B
Nix
49 lines
767 B
Nix
{
|
|
buildPythonPackage,
|
|
|
|
# build-system
|
|
setuptools,
|
|
|
|
# dependencies
|
|
cirq-aqt,
|
|
cirq-core,
|
|
cirq-google,
|
|
cirq-ionq,
|
|
cirq-pasqal,
|
|
cirq-web,
|
|
|
|
# tests
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage {
|
|
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 = [ pytestCheckHook ];
|
|
|
|
# Don't run submodule or development tool tests
|
|
disabledTestPaths = [
|
|
"cirq-aqt"
|
|
"cirq-core"
|
|
"cirq-google"
|
|
"cirq-ionq"
|
|
"cirq-pasqal"
|
|
"cirq-web"
|
|
"dev_tools"
|
|
];
|
|
}
|