depot/third_party/nixpkgs/pkgs/development/python-modules/cirq/default.nix
Default email 3e2acf8aff Project import generated by Copybara.
GitOrigin-RevId: d42cd445dde587e9a993cd9434cb43da07c4c5de
2021-05-20 18:08:51 -05:00

28 lines
504 B
Nix

{ lib
, buildPythonPackage
, cirq-core
, cirq-google
# test inputs
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "cirq";
inherit (cirq-core) version src meta;
propagatedBuildInputs = [
cirq-core
cirq-google
];
# pythonImportsCheck = [ "cirq" "cirq.Circuit" ]; # cirq's importlib hook doesn't work here
checkInputs = [ pytestCheckHook ];
# Don't run submodule or development tool tests
disabledTestPaths = [
"cirq-google"
"cirq-core"
"dev_tools"
];
}