1{ stdenv, buildPythonPackage, fetchPypi
2, setuptools, google_api_core, google_gax, google_cloud_core, pytest, mock }:
3
4buildPythonPackage rec {
5 pname = "google-cloud-speech";
6 version = "0.32.0";
7
8 src = fetchPypi {
9 inherit pname version;
10 sha256 = "2513725e693c3a2fdf22cb3065f3fcb39de2ab962a0cbc5de11a3889834189e1";
11 };
12
13 propagatedBuildInputs = [ setuptools google_api_core google_gax google_cloud_core ];
14 checkInputs = [ pytest mock ];
15
16 checkPhase = ''
17 py.test
18 '';
19
20 meta = with stdenv.lib; {
21 description = "Cloud Speech API enables integration of Google speech recognition into applications.";
22 homepage = "https://googlecloudplatform.github.io/google-cloud-python/latest/speech/";
23 license = licenses.asl20;
24 maintainers = with maintainers; [ vanschelven ];
25 };
26}