depot/third_party/nixpkgs/pkgs/development/python-modules/cirq/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

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