1{ capnproto
2, lib
3, fetchFromGitHub
4, protobuf
5, rustPlatform
6}:
7
8rustPlatform.buildRustPackage rec {
9 pname = "conmon-rs";
10 version = "0.5.0";
11
12 src = fetchFromGitHub {
13 owner = "containers";
14 repo = pname;
15 rev = "v${version}";
16 sha256 = "sha256-mngs5ivRyMJ927VV00mFNIG+nD9EuE3qLyN+OHMMkHQ=";
17 };
18
19 nativeBuildInputs = [ capnproto protobuf ];
20 doCheck = false;
21
22 cargoSha256 = "sha256-ruChRz2rnPalBiXcpco/WS/eDgg52ckPBLBuoQa9us4=";
23
24 meta = with lib; {
25 description = "An OCI container runtime monitor written in Rust";
26 homepage = "https://github.com/containers/conmon-rs";
27 license = licenses.asl20;
28 maintainers = with maintainers; [ ] ++ teams.podman.members;
29 platforms = platforms.linux;
30 };
31}