pythonPackages.googleapis_common_protos: Cleanups

This commit is contained in:
Sandro Jäckel 2021-01-05 12:29:31 +01:00
parent 7aad6a6a5c
commit 7a414d636e
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -1,5 +1,10 @@
{ stdenv, buildPythonPackage, fetchPypi { stdenv
, protobuf, pytest, setuptools }: , buildPythonPackage
, fetchPypi
, grpc
, protobuf
, pytestCheckHook
}:
buildPythonPackage rec { buildPythonPackage rec {
pname = "googleapis-common-protos"; pname = "googleapis-common-protos";
@ -7,18 +12,26 @@ buildPythonPackage rec {
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "560716c807117394da12cecb0a54da5a451b5cf9866f1d37e9a5e2329a665351"; sha256 = "0lakcsd35qm5x4visvw6z5f1niasv9a0mjyf2bd98wqi0z41c1sn";
}; };
propagatedBuildInputs = [ protobuf setuptools ]; propagatedBuildInputs = [ grpc protobuf ];
checkInputs = [ pytest ];
doCheck = false; # there are no tests # does not contain tests
doCheck = false;
pythonImportsCheck = [
"google.api"
"google.logging"
"google.longrunning"
"google.rpc"
"google.type"
];
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Common protobufs used in Google APIs"; description = "Common protobufs used in Google APIs";
homepage = "https://github.com/googleapis/googleapis"; homepage = "https://github.com/googleapis/python-api-common-protos";
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ ]; maintainers = with maintainers; [ SuperSandro2000 ];
}; };
} }