Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / google-cloud-appengine-logging / default.nix
blobd9f5f38c36ece66a40ff9ce03eb1686be9f6ad7b
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , google-api-core
5 , grpc-google-iam-v1
6 , mock
7 , proto-plus
8 , protobuf
9 , pytest-asyncio
10 , pytestCheckHook
11 , pythonOlder
12 , setuptools
15 buildPythonPackage rec {
16   pname = "google-cloud-appengine-logging";
17   version = "1.4.3";
18   pyproject = true;
20   disabled = pythonOlder "3.7";
22   src = fetchPypi {
23     inherit pname version;
24     hash = "sha256-+1BOYZn+jehbqp0xzs9ndod4Uf5Yhn3mAzF+x8xzmYc=";
25   };
27   nativeBuildInputs = [
28     setuptools
29   ];
31   propagatedBuildInputs = [
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.appengine_logging"
46     "google.cloud.appengine_logging_v1"
47   ];
49   meta = with lib; {
50     description = "Appengine logging client library";
51     homepage = "https://github.com/googleapis/python-appengine-logging";
52     changelog = "https://github.com/googleapis/python-appengine-logging/blob/v${version}/CHANGELOG.md";
53     license = licenses.asl20;
54     maintainers = with maintainers; [ fab ];
55   };