Files
nixpkgs/pkgs/development/python-modules/cirq/default.nix
Robert Schütz 607e54ec53 python3Packages.cirq-rigetti: drop
The cirq-rigetti module was removed from the upstream repo:
https://github.com/quantumlib/Cirq/issues/7297
2025-09-13 23:37:56 -07:00

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"
];
}