pythonPackages.google_cloud_videointelligence: init at 1.5.0

This commit is contained in:
Chris Ostrouchov 2018-11-02 16:38:28 -04:00
parent 88942912f8
commit e657733595
No known key found for this signature in database
GPG key ID: 9ED59B0AB1EAF573
2 changed files with 32 additions and 0 deletions

View file

@ -0,0 +1,30 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, google_api_core
, pytest
}:
buildPythonPackage rec {
pname = "google-cloud-videointelligence";
version = "1.5.0";
src = fetchPypi {
inherit pname version;
sha256 = "bd0abc18070520fd5757b15356e8483149e1caebbe43019257ccb2c43cddbbbe";
};
checkInputs = [ pytest ];
propagatedBuildInputs = [ google_api_core ];
checkPhase = ''
pytest tests/unit
'';
meta = with stdenv.lib; {
description = "Google Cloud Video Intelligence API client library";
homepage = https://github.com/GoogleCloudPlatform/google-cloud-python;
license = licenses.asl20;
maintainers = [ maintainers.costrouc ];
};
}

View file

@ -2504,6 +2504,8 @@ in {
google_cloud_translate = callPackage ../development/python-modules/google_cloud_translate { };
google_cloud_videointelligence = callPackage ../development/python-modules/google_cloud_videointelligence { };
google_resumable_media = callPackage ../development/python-modules/google_resumable_media { };
gpgme = toPythonModule (pkgs.gpgme.override { pythonSupport=true; });