python3Packages.cirq: add other cirq subpackages

This commit is contained in:
Drew Risinger 2021-10-29 17:18:34 -04:00 committed by Jonathan Ringer
parent 3378a3e58c
commit 808e44a9fd

View file

@ -1,7 +1,12 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, cirq-aqt
, cirq-core , cirq-core
, cirq-google , cirq-google
, cirq-ionq
, cirq-pasqal
, cirq-rigetti
, cirq-web
# test inputs # test inputs
, pytestCheckHook , pytestCheckHook
}: }:
@ -11,8 +16,13 @@ buildPythonPackage rec {
inherit (cirq-core) version src meta; inherit (cirq-core) version src meta;
propagatedBuildInputs = [ propagatedBuildInputs = [
cirq-aqt
cirq-core cirq-core
cirq-ionq
cirq-google cirq-google
cirq-rigetti
cirq-pasqal
cirq-web
]; ];
# pythonImportsCheck = [ "cirq" "cirq.Circuit" ]; # cirq's importlib hook doesn't work here # pythonImportsCheck = [ "cirq" "cirq.Circuit" ]; # cirq's importlib hook doesn't work here
@ -20,8 +30,13 @@ buildPythonPackage rec {
# Don't run submodule or development tool tests # Don't run submodule or development tool tests
disabledTestPaths = [ disabledTestPaths = [
"cirq-google" "cirq-aqt"
"cirq-core" "cirq-core"
"cirq-google"
"cirq-ionq"
"cirq-pasqal"
"cirq-rigetti"
"cirq-web"
"dev_tools" "dev_tools"
]; ];