49 lines
921 B
Nix
49 lines
921 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, google-api-core
|
|
, grpc-google-iam-v1
|
|
, mock
|
|
, proto-plus
|
|
, pytest-asyncio
|
|
, pytestCheckHook
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "google-cloud-appengine-logging";
|
|
version = "1.1.2";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-undhXBAPB+3akWVu3ht0ZZBwErhmOq18TnXvloeZQjc=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
google-api-core
|
|
grpc-google-iam-v1
|
|
proto-plus
|
|
];
|
|
|
|
checkInputs = [
|
|
mock
|
|
pytestCheckHook
|
|
pytest-asyncio
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"google.cloud.appengine_logging"
|
|
"google.cloud.appengine_logging_v1"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Appengine logging client library";
|
|
homepage = "https://github.com/googleapis/python-appengine-logging";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|