nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 63 lines 1.5 kB view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 google-api-core, 6 google-cloud-testutils, 7 mock, 8 proto-plus, 9 protobuf, 10 pytest-asyncio, 11 pytestCheckHook, 12 setuptools, 13}: 14 15buildPythonPackage rec { 16 pname = "google-cloud-videointelligence"; 17 version = "2.18.0"; 18 pyproject = true; 19 20 src = fetchPypi { 21 pname = "google_cloud_videointelligence"; 22 inherit version; 23 hash = "sha256-sq45vSLRhiGGhKKXwvovpjblh05p059xlQTXKfRGOf0="; 24 }; 25 26 build-system = [ setuptools ]; 27 28 dependencies = [ 29 google-api-core 30 proto-plus 31 protobuf 32 ] 33 ++ google-api-core.optional-dependencies.grpc; 34 35 nativeCheckInputs = [ 36 google-cloud-testutils 37 mock 38 pytestCheckHook 39 pytest-asyncio 40 ]; 41 42 disabledTests = [ 43 # require credentials 44 "test_annotate_video" 45 ]; 46 47 pythonImportsCheck = [ 48 "google.cloud.videointelligence" 49 "google.cloud.videointelligence_v1" 50 "google.cloud.videointelligence_v1beta2" 51 "google.cloud.videointelligence_v1p1beta1" 52 "google.cloud.videointelligence_v1p2beta1" 53 "google.cloud.videointelligence_v1p3beta1" 54 ]; 55 56 meta = { 57 description = "Google Cloud Video Intelligence API client library"; 58 homepage = "https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-videointelligence"; 59 changelog = "https://github.com/googleapis/google-cloud-python/blob/google-cloud-videointelligence-v${version}/packages/google-cloud-videointelligence/CHANGELOG.md"; 60 license = lib.licenses.asl20; 61 maintainers = [ ]; 62 }; 63}