Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
36 lines
719 B
Nix
36 lines
719 B
Nix
{
|
|
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;
|
|
};
|
|
}
|