2018-11-02 13:38:28 -07:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, google_api_core
|
|
|
|
, pytest
|
2019-02-03 02:56:30 -08:00
|
|
|
, mock
|
2018-11-02 13:38:28 -07:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "google-cloud-videointelligence";
|
2020-10-16 05:06:37 -07:00
|
|
|
version = "1.16.0";
|
2018-11-02 13:38:28 -07:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-10-16 05:06:37 -07:00
|
|
|
sha256 = "de6fe53bdaf66aa8e2c1f34b26af24c479a876619b5c667d009fbd9700dd89f7";
|
2018-11-02 13:38:28 -07:00
|
|
|
};
|
|
|
|
|
2019-02-03 02:56:30 -08:00
|
|
|
checkInputs = [ pytest mock ];
|
2018-11-02 13:38:28 -07:00
|
|
|
propagatedBuildInputs = [ google_api_core ];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
pytest tests/unit
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Google Cloud Video Intelligence API client library";
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://github.com/GoogleCloudPlatform/google-cloud-python";
|
2018-11-02 13:38:28 -07:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = [ maintainers.costrouc ];
|
|
|
|
};
|
|
|
|
}
|