2022-11-10 10:32:40 +00:00
|
|
|
{ capnproto
|
|
|
|
, lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, protobuf
|
|
|
|
, rustPlatform
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "conmon-rs";
|
2024-09-11 09:20:19 +00:00
|
|
|
version = "0.6.6";
|
2022-11-10 10:32:40 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "containers";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2024-09-11 09:20:19 +00:00
|
|
|
hash = "sha256-1kGAUAmiPI9zE8LE7G2r0Gy0YM+BUy2MxY7IQOu2ZDQ=";
|
2022-11-10 10:32:40 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ capnproto protobuf ];
|
|
|
|
doCheck = false;
|
|
|
|
|
2024-08-05 13:39:50 +00:00
|
|
|
cargoVendorDir = ".cargo-vendor";
|
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;
|
|
|
|
};
|
|
|
|
}
|