1{ lib
2, buildPythonPackage
3, fetchPypi
4, libcst
5, google-api-core
6, grpc-google-iam-v1
7, proto-plus
8, pytest-asyncio
9, pytestCheckHook
10, mock
11, pythonOlder
12}:
13
14buildPythonPackage rec {
15 pname = "google-cloud-datacatalog";
16 version = "3.9.3";
17 format = "setuptools";
18
19 disabled = pythonOlder "3.7";
20
21 src = fetchPypi {
22 inherit pname version;
23 hash = "sha256-JgGs4lqOruHohIy6GaUGSHr0vd+lFsI5u4PVZwt7tdo=";
24 };
25
26 propagatedBuildInputs = [
27 libcst
28 google-api-core
29 grpc-google-iam-v1
30 proto-plus
31 ];
32
33 checkInputs = [
34 pytest-asyncio
35 pytestCheckHook
36 mock
37 ];
38
39 pythonImportsCheck = [
40 "google.cloud.datacatalog"
41 ];
42
43 meta = with lib; {
44 description = "Google Cloud Data Catalog API API client library";
45 homepage = "https://github.com/googleapis/python-datacatalog";
46 license = licenses.asl20;
47 maintainers = with maintainers; [ SuperSandro2000 ];
48 };
49}