2022-11-10 10:32:40 +00:00
|
|
|
{ capnproto
|
|
|
|
, lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, protobuf
|
|
|
|
, rustPlatform
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "conmon-rs";
|
2024-04-08 06:59:37 +00:00
|
|
|
version = "0.6.2";
|
2022-11-10 10:32:40 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "containers";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2024-04-08 06:59:37 +00:00
|
|
|
hash = "sha256-+htd9RJGSFzzyEQSBJGIzurQDQgpJ+sJHLPe3aPH0cg=";
|
2022-11-10 10:32:40 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ capnproto protobuf ];
|
|
|
|
doCheck = false;
|
|
|
|
|
2024-04-08 06:59:37 +00:00
|
|
|
cargoHash = "sha256-CcWji/qMd7eX0O3cR9/FLID17WpSfz4kEAhDgKb3jds=";
|
2022-11-10 10:32:40 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "An 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;
|
|
|
|
};
|
|
|
|
}
|