2018-11-02 21:28:54 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, google_api_core
|
|
|
|
, pytest
|
2019-02-03 11:56:30 +01:00
|
|
|
, mock
|
2018-11-02 21:28:54 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "google-cloud-texttospeech";
|
2019-10-24 08:47:34 +02:00
|
|
|
version = "0.5.0";
|
2018-11-02 21:28:54 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-10-24 08:47:34 +02:00
|
|
|
sha256 = "75562a8db2b0268f57c64e448d697fe82c0ffa889f09be8cbc6ba5369c9a0c59";
|
2018-11-02 21:28:54 +01:00
|
|
|
};
|
|
|
|
|
2019-02-03 11:56:30 +01:00
|
|
|
checkInputs = [ pytest mock ];
|
2018-11-02 21:28:54 +01:00
|
|
|
propagatedBuildInputs = [ google_api_core ];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
pytest tests/unit
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Google Cloud Text-to-Speech API client library";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/GoogleCloudPlatform/google-cloud-python";
|
2018-11-02 21:28:54 +01:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = [ maintainers.costrouc ];
|
|
|
|
};
|
|
|
|
}
|