mirror of
https://github.com/unclechu/gRPC-haskell.git
synced 2024-11-16 16:19:42 +01:00
44 lines
847 B
Nix
44 lines
847 B
Nix
|
# Copy-paste from nixpkgs “release-22.05” branch
|
||
|
|
||
|
{ lib
|
||
|
, buildPythonPackage
|
||
|
, fetchPypi
|
||
|
, googleapis-common-protos
|
||
|
, grpcio
|
||
|
, protobuf
|
||
|
, pythonOlder
|
||
|
}:
|
||
|
|
||
|
buildPythonPackage rec {
|
||
|
pname = "grpcio-status";
|
||
|
version = "1.46.3";
|
||
|
format = "setuptools";
|
||
|
|
||
|
disabled = pythonOlder "3.6";
|
||
|
|
||
|
src = fetchPypi {
|
||
|
inherit pname version;
|
||
|
sha256 = "78442ac7d2813c56f9cc04f713efd7088596b10f88a4ddd09279211cc48402d5";
|
||
|
};
|
||
|
|
||
|
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 ];
|
||
|
};
|
||
|
}
|