2022-11-10 11:32:40 +01:00
|
|
|
{ capnproto
|
|
|
|
, lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, protobuf
|
|
|
|
, rustPlatform
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "conmon-rs";
|
2023-01-31 10:14:29 +01:00
|
|
|
version = "0.5.0";
|
2022-11-10 11:32:40 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "containers";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2023-01-31 10:14:29 +01:00
|
|
|
sha256 = "sha256-mngs5ivRyMJ927VV00mFNIG+nD9EuE3qLyN+OHMMkHQ=";
|
2022-11-10 11:32:40 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ capnproto protobuf ];
|
|
|
|
doCheck = false;
|
|
|
|
|
2023-01-31 10:14:29 +01:00
|
|
|
cargoSha256 = "sha256-ruChRz2rnPalBiXcpco/WS/eDgg52ckPBLBuoQa9us4=";
|
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;
|
|
|
|
};
|
|
|
|
}
|