a6d62be0d1
GitOrigin-RevId: ac169ec6371f0d835542db654a65e0f2feb07838
41 lines
780 B
Nix
41 lines
780 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, googleapis-common-protos
|
|
, grpcio
|
|
, protobuf
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "grpcio-status";
|
|
version = "1.43.0";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-IXWQBvNqf/v/GH1BkfQRjActiqn6aCOhGq14QqPGzNA=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
googleapis-common-protos
|
|
grpcio
|
|
protobuf
|
|
];
|
|
|
|
# Projec thas no tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [
|
|
"grpc_status"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "GRPC Python status proto mapping";
|
|
homepage = "https://github.com/grpc/grpc/tree/master/src/python/grpcio_status";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|