about summary refs log tree commit diff
path: root/pkgs/by-name/gr/grpc-health-check/package.nix
blob: 5ef0efc6301a2d970a01fab2fb551ffbf0685ce5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{ stdenv
, fetchFromGitHub
, rustPlatform
, protobuf
, lib
}:

rustPlatform.buildRustPackage {
  pname = "grpc-health-check";
  version = "unstable-2022-08-19";

  src = fetchFromGitHub {
    owner = "paypizza";
    repo = "grpc-health-check";
    rev = "f61bb5e10beadc5ed53144cc540d66e19fc510bd";
    hash = "sha256-nKut9c1HHIacdRcmvlXe0GrtkgCWN6sxJ4ImO0CIDdo=";
  };

  cargoHash = "sha256-lz+815iE+oXBQ3PfqBO0QBpZY6x1SNR7OU7BjkRszzI=";

  nativeBuildInputs = [ protobuf ];
  # tests fail
  doCheck = false;

  meta = {
    description = "Minimal, high performance, memory-friendly, safe implementation of the gRPC health checking protocol";
    homepage = "https://github.com/paypizza/grpc-health-check";
    license = lib.licenses.asl20;
    maintainers = with lib.maintainers; [ flokli ];
    platforms = lib.platforms.unix;
  };
}