depot/third_party/nixpkgs/pkgs/development/python-modules/cirq/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

42 lines
742 B
Nix

{
buildPythonPackage,
cirq-aqt,
cirq-core,
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-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-google"
"cirq-ionq"
"cirq-pasqal"
"cirq-rigetti"
"cirq-web"
"dev_tools"
];
}