python3Packages.cirq-google: init at 0.11.0

This commit is contained in:
Drew Risinger 2021-05-19 18:43:25 -04:00 committed by Jonathan Ringer
parent 3b56b0d384
commit 1018fa91f6
2 changed files with 31 additions and 0 deletions

View file

@ -0,0 +1,29 @@
{ lib
, buildPythonPackage
, pythonOlder
, cirq-core
, google-api-core
, protobuf
# test inputs
, pytestCheckHook
, freezegun
}:
buildPythonPackage rec {
pname = "cirq-google";
inherit (cirq-core) version src meta;
sourceRoot = "source/${pname}";
postPatch = ''
substituteInPlace requirements.txt --replace "protobuf~=3.13.0" "protobuf"
'';
propagatedBuildInputs = [
cirq-core
google-api-core
protobuf
];
checkInputs = [ pytestCheckHook freezegun ];
}

View file

@ -1363,6 +1363,8 @@ in {
cirq-core = callPackage ../development/python-modules/cirq-core { };
cirq-google = callPackage ../development/python-modules/cirq-google { };
ciscomobilityexpress = callPackage ../development/python-modules/ciscomobilityexpress { };
ciso8601 = callPackage ../development/python-modules/ciso8601 { };