2022-11-10 10:32:40 +00:00
|
|
|
{ capnproto
|
|
|
|
, lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, protobuf
|
|
|
|
, rustPlatform
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "conmon-rs";
|
2024-04-30 08:22:04 +00:00
|
|
|
version = "0.6.3";
|
2022-11-10 10:32:40 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "containers";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2024-04-30 08:22:04 +00:00
|
|
|
hash = "sha256-+RKjJtI01Y56+cFDdOSAL4BodI7R/rM3B3ht3p6+xzs=";
|
2022-11-10 10:32:40 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ capnproto protobuf ];
|
|
|
|
doCheck = false;
|
|
|
|
|
2024-04-30 08:22:04 +00:00
|
|
|
cargoHash = "sha256-4VOse+y0EO9IORyeAO/j1t6ssQARJp7lK21TUJVuH78=";
|
2022-11-10 10:32:40 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "OCI container runtime monitor written in Rust";
|
|
|
|
homepage = "https://github.com/containers/conmon-rs";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ ] ++ teams.podman.members;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|