@@ -0,0 +1,26 @@
1+{ stdenv, buildPythonPackage, fetchPypi
2+, setuptools, google_api_core, google_gax, google_cloud_core, pytest, mock }:
3+
4+buildPythonPackage rec {
5+ pname = "google-cloud-speech";
6+ version = "0.30.0";
7+
8+ src = fetchPypi {
9+ inherit pname version;
10+ sha256 = "0ckigh6bfzhflhllqdnfygm8w0r6ncp0myf1midifx7sn880g4pa";
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+}