pythonPAckages.google_cloud_texttospeech: init at 0.2.0

This commit is contained in:
Chris Ostrouchov 2018-11-02 16:28:54 -04:00
parent 334a2d7baf
commit b1bfcaac25
No known key found for this signature in database
GPG key ID: 9ED59B0AB1EAF573
2 changed files with 32 additions and 0 deletions

View file

@ -0,0 +1,30 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, google_api_core
, pytest
}:
buildPythonPackage rec {
pname = "google-cloud-texttospeech";
version = "0.2.0";
src = fetchPypi {
inherit pname version;
sha256 = "6064bc6e2761694b708878ff3d5902c6ce5eb44a770a921e7a99caf6c2533ae3";
};
checkInputs = [ pytest ];
propagatedBuildInputs = [ google_api_core ];
checkPhase = ''
pytest tests/unit
'';
meta = with stdenv.lib; {
description = "Google Cloud Text-to-Speech API client library";
homepage = https://github.com/GoogleCloudPlatform/google-cloud-python;
license = licenses.asl20;
maintainers = [ maintainers.costrouc ];
};
}

View file

@ -2498,6 +2498,8 @@ in {
google_cloud_testutils = callPackage ../development/python-modules/google_cloud_testutils { };
google_cloud_texttospeech = callPackage ../development/python-modules/google_cloud_texttospeech { };
google_resumable_media = callPackage ../development/python-modules/google_resumable_media { };
gpgme = toPythonModule (pkgs.gpgme.override { pythonSupport=true; });