depot/third_party/nixpkgs/pkgs/applications/virtualization/conmon-rs/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

31 lines
698 B
Nix

{ capnproto
, lib
, fetchFromGitHub
, protobuf
, rustPlatform
}:
rustPlatform.buildRustPackage rec {
pname = "conmon-rs";
version = "0.6.6";
src = fetchFromGitHub {
owner = "containers";
repo = pname;
rev = "v${version}";
hash = "sha256-1kGAUAmiPI9zE8LE7G2r0Gy0YM+BUy2MxY7IQOu2ZDQ=";
};
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;
};
}