2022-11-10 11:32:40 +01:00
|
|
|
{ capnproto
|
|
|
|
, lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, protobuf
|
|
|
|
, rustPlatform
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "conmon-rs";
|
2023-09-13 09:31:41 +02:00
|
|
|
version = "0.6.1";
|
2022-11-10 11:32:40 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "containers";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2023-09-13 09:31:41 +02:00
|
|
|
sha256 = "sha256-B8uloch+ucOLIIR64GE5Z8ahe2NLqPmDGcugQVSqpl4=";
|
2022-11-10 11:32:40 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ capnproto protobuf ];
|
|
|
|
doCheck = false;
|
|
|
|
|
2023-09-13 09:31:41 +02:00
|
|
|
cargoHash = "sha256-hEhAnNppiyY6EcdHfri534ih8VUfpT7lO9L4mFJ6Caw=";
|
2022-11-10 11:32:40 +01: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;
|
|
|
|
};
|
|
|
|
}
|