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, pythonOlder 11}: 12 13buildPythonPackage rec { 14 pname = "google-cloud-videointelligence"; 15 version = "2.8.3"; 16 format = "setuptools"; 17 18 disabled = pythonOlder "3.7"; 19 20 src = fetchPypi { 21 inherit pname version; 22 hash = "sha256-pB7exeGYpFT4nf3YuIhoI+bqG6YYEP6oWs0tohkOIbw="; 23 }; 24 25 propagatedBuildInputs = [ 26 google-api-core 27 proto-plus 28 ]; 29 30 checkInputs = [ 31 google-cloud-testutils 32 mock 33 pytestCheckHook 34 pytest-asyncio 35 ]; 36 37 disabledTests = [ 38 # require credentials 39 "test_annotate_video" 40 ]; 41 42 pythonImportsCheck = [ 43 "google.cloud.videointelligence" 44 "google.cloud.videointelligence_v1" 45 "google.cloud.videointelligence_v1beta2" 46 "google.cloud.videointelligence_v1p1beta1" 47 "google.cloud.videointelligence_v1p2beta1" 48 "google.cloud.videointelligence_v1p3beta1" 49 ]; 50 51 meta = with lib; { 52 description = "Google Cloud Video Intelligence API client library"; 53 homepage = "https://github.com/googleapis/python-videointelligence"; 54 license = licenses.asl20; 55 maintainers = with maintainers; [ SuperSandro2000 ]; 56 }; 57}