nixpkgs/pkgs/development/python-modules/cirq/default.nix
Drew Risinger 480984e696 python3Packages.cirq: 0.10.0 -> 0.11.0
Rework for the latest version of Cirq. Breaks the package into
submodules that can be used somewhat independently.
2021-05-19 17:04:59 -07:00

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