nav: init at 1.2.1 (#356071)
[NixPkgs.git] / pkgs / development / python-modules / google-cloud-bigquery-logging / default.nix
blob81739ef91b60a65787a8d6f4afb63cf59b66b6fc
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   google-api-core,
6   grpc-google-iam-v1,
7   mock,
8   proto-plus,
9   protobuf,
10   pytest-asyncio,
11   pytestCheckHook,
12   pythonOlder,
13   setuptools,
16 buildPythonPackage rec {
17   pname = "google-cloud-bigquery-logging";
18   version = "1.5.0";
19   pyproject = true;
21   disabled = pythonOlder "3.7";
23   src = fetchPypi {
24     pname = "google_cloud_bigquery_logging";
25     inherit version;
26     hash = "sha256-4eDfCpkZBDZySWq92C/fr0FKeKdbkymN6sbl+/qzKfg=";
27   };
29   build-system = [ setuptools ];
31   dependencies = [
32     google-api-core
33     grpc-google-iam-v1
34     proto-plus
35     protobuf
36   ] ++ google-api-core.optional-dependencies.grpc;
38   nativeCheckInputs = [
39     mock
40     pytestCheckHook
41     pytest-asyncio
42   ];
44   pythonImportsCheck = [
45     "google.cloud.bigquery_logging"
46     "google.cloud.bigquery_logging_v1"
47   ];
49   meta = with lib; {
50     description = "Bigquery logging client library";
51     homepage = "https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-bigquery-logging";
52     changelog = "https://github.com/googleapis/google-cloud-python/blob/google-cloud-bigquery-logging-v${version}/packages/google-cloud-bigquery-logging/CHANGELOG.md";
53     license = licenses.asl20;
54     maintainers = with maintainers; [ fab ];
55   };