mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-03 19:43:30 +00:00
733f5a9806
Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
32 lines
698 B
Nix
32 lines
698 B
Nix
{ capnproto
|
|
, lib
|
|
, fetchFromGitHub
|
|
, protobuf
|
|
, rustPlatform
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "conmon-rs";
|
|
version = "0.6.5";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "containers";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-qb7n6AcRkv/nF0BQbPgdFqaklfJeC+PRzMh6EIykobY=";
|
|
};
|
|
|
|
nativeBuildInputs = [ capnproto protobuf ];
|
|
doCheck = false;
|
|
|
|
cargoVendorDir = ".cargo-vendor";
|
|
|
|
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;
|
|
};
|
|
}
|