git.iko.soy/typeable/nixpkgs
on master help sign in
google_cloud_speech: init at 0.30.0
commit3a180b0918ed51af919f9b94a3efd1bc9c34f3ab authorKlaas van Schelven <klaas@vanschelven.com> dateWed 20 Dec 2017, 23:50 (9 years ago) parentebec27b
2 files changed+28
pkgs/development/python-modules/google_cloud_speech/default.nix+26 pkgs/top-level/python-packages.nix+2
pkgs/development/python-modules/google_cloud_speech/default.nixnew file+26
@@ -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+}
pkgs/top-level/python-packages.nix+2
@@ -9101,6 +9101,8 @@ in {
91019101
91029102 google_cloud_core = callPackage ../development/python-modules/google_cloud_core { };
91039103
9104+ google_cloud_speech = callPackage ../development/python-modules/google_cloud_speech { };
9105+
91049106 google_gax = callPackage ../development/python-modules/google_gax { };
91059107
91069108 grammalecte = callPackage ../development/python-modules/grammalecte { };