My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/grpcio-status/default.nix

41 lines
780 B

{ lib
, buildPythonPackage
, fetchPypi
, googleapis-common-protos
, grpcio
, protobuf
, pythonOlder
}:
buildPythonPackage rec {
pname = "grpcio-status";
version = "1.45.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-S6rY6Ow8RHiOA4wk49fccCWeBroJ9ApbgXhThWO6Plo=";
};
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 ];
};
}