1{ stdenv, buildPythonPackage, fetchPypi
2, google_api_core, pytest, mock }:
3
4buildPythonPackage rec {
5 pname = "google-cloud-speech";
6 version = "0.36.3";
7
8 src = fetchPypi {
9 inherit pname version;
10 sha256 = "3d77da6086c01375908c8b800808ff83748a34b98313f885bd86df95448304fc";
11 };
12
13 propagatedBuildInputs = [ google_api_core ];
14 checkInputs = [ pytest mock ];
15
16 checkPhase = ''
17 pytest tests/unit
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}