depot/third_party/nixpkgs/pkgs/development/python-modules/cirq/default.nix
Default email b5f92a349c Project import generated by Copybara.
GitOrigin-RevId: 7c9cc5a6e5d38010801741ac830a3f8fd667a7a0
2023-10-19 15:55:26 +02:00

46 lines
749 B
Nix

{ buildPythonPackage
, cirq-aqt
, cirq-core
, cirq-ft
, cirq-google
, cirq-ionq
, cirq-pasqal
, cirq-rigetti
, cirq-web
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "cirq";
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"
];
}