Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.09 26 lines 721 B view raw
1{ stdenv, buildPythonPackage, fetchPypi 2, google_api_core, pytest, mock }: 3 4buildPythonPackage rec { 5 pname = "google-cloud-speech"; 6 version = "1.0.0"; 7 8 src = fetchPypi { 9 inherit pname version; 10 sha256 = "1d0ysapqrcwcyiil7nyh8vbj4i6hk9v23rrm4rdhgm0lwax7i0aj"; 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}