{ capnproto, lib, fetchFromGitHub, protobuf, rustPlatform, }: rustPlatform.buildRustPackage rec { pname = "conmon-rs"; version = "0.7.2"; src = fetchFromGitHub { owner = "containers"; repo = "conmon-rs"; rev = "v${version}"; hash = "sha256-FZwX9xihg2mKpHT11FCASyoJ5nDUkAa4Cqk5zRQOfeY="; }; nativeBuildInputs = [ capnproto protobuf ]; doCheck = false; cargoHash = "sha256-JVUckmOAJj4zNBe4yq/JzrPw+IqfhiZRB6s03ZxXFV4="; meta = with lib; { description = "OCI container runtime monitor written in Rust"; homepage = "https://github.com/containers/conmon-rs"; license = licenses.asl20; teams = [ teams.podman ]; platforms = platforms.linux; }; }