pythonPackages.google_cloud_language: init at 1.1.0

This commit is contained in:
Chris Ostrouchov 2018-11-02 15:45:30 -04:00
parent 3a81c65c38
commit d3609a0610
No known key found for this signature in database
GPG Key ID: 9ED59B0AB1EAF573
2 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,31 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, enum34
, google_api_core
, pytest
}:
buildPythonPackage rec {
pname = "google-cloud-language";
version = "1.1.0";
src = fetchPypi {
inherit pname version;
sha256 = "2450e3265df129241cb21badb9d4ce2089d2652581df38e03c14a7ec85679ecb";
};
checkInputs = [ pytest ];
propagatedBuildInputs = [ enum34 google_api_core ];
checkPhase = ''
pytest tests/unit
'';
meta = with stdenv.lib; {
description = "Google Cloud Natural Language API client library";
homepage = https://github.com/GoogleCloudPlatform/google-cloud-python;
license = licenses.asl20;
maintainers = [ maintainers.costrouc ];
};
}

View File

@ -2472,6 +2472,8 @@ in {
google_cloud_kms = callPackage ../development/python-modules/google_cloud_kms { };
google_cloud_language = callPackage ../development/python-modules/google_cloud_language { };
google_cloud_logging = callPackage ../development/python-modules/google_cloud_logging { };
google_cloud_storage = callPackage ../development/python-modules/google_cloud_storage { };