nixpkgs/pkgs/development/python-modules/google-cloud-appengine-logging/default.nix

48 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.1";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-NhRQ7X17/Y79DvJT4haArrb23zzwV+XoJT9YUfjLvKc=";
};
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 ];
};
}