depot/third_party/nixpkgs/pkgs/development/python-modules/google-cloud-vision/default.nix
Default email 849ee4d900 Project import generated by Copybara.
GitOrigin-RevId: 9e377a6ce42dccd9b624ae4ce8f978dc892ba0e2
2021-04-08 18:26:57 +02:00

41 lines
947 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, google-api-core
, libcst
, mock
, proto-plus
, pytestCheckHook
, pytest-asyncio
}:
buildPythonPackage rec {
pname = "google-cloud-vision";
version = "2.3.0";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-6XYHADzyk0/WSGk9wni9bOtVURJ+U2Eve8LAh0Eg7KI=";
};
propagatedBuildInputs = [ libcst google-api-core proto-plus];
checkInputs = [ mock pytestCheckHook pytest-asyncio ];
pythonImportsCheck = [
"google.cloud.vision"
"google.cloud.vision_helpers"
"google.cloud.vision_v1"
"google.cloud.vision_v1p1beta1"
"google.cloud.vision_v1p2beta1"
"google.cloud.vision_v1p3beta1"
"google.cloud.vision_v1p4beta1"
];
meta = with lib; {
description = "Cloud Vision API API client library";
homepage = "https://github.com/googleapis/python-vision";
license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ];
};
}