1{ lib 2, buildPythonPackage 3, fetchPypi 4, mock 5, google-api-core 6, google-cloud-testutils 7, proto-plus 8, pytestCheckHook 9, pytest-asyncio 10}: 11 12buildPythonPackage rec { 13 pname = "google-cloud-videointelligence"; 14 version = "2.5.1"; 15 16 src = fetchPypi { 17 inherit pname version; 18 sha256 = "7b735f623d6c3c80d1d40fa491bfe1776a5369d7b240dddab522fd0076d97b1d"; 19 }; 20 21 propagatedBuildInputs = [ google-api-core proto-plus ]; 22 23 checkInputs = [ google-cloud-testutils mock pytestCheckHook pytest-asyncio ]; 24 25 disabledTests = [ 26 # require credentials 27 "test_annotate_video" 28 ]; 29 30 pythonImportsCheck = [ 31 "google.cloud.videointelligence" 32 "google.cloud.videointelligence_v1" 33 "google.cloud.videointelligence_v1beta2" 34 "google.cloud.videointelligence_v1p1beta1" 35 "google.cloud.videointelligence_v1p2beta1" 36 "google.cloud.videointelligence_v1p3beta1" 37 ]; 38 39 meta = with lib; { 40 description = "Google Cloud Video Intelligence API client library"; 41 homepage = "https://github.com/googleapis/python-videointelligence"; 42 license = licenses.asl20; 43 maintainers = with maintainers; [ SuperSandro2000 ]; 44 }; 45}