mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-14 01:33:10 +00:00
91fc821cc1
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
34 lines
758 B
Nix
34 lines
758 B
Nix
{ stdenv, lib, fetchFromGitHub, pkgconfig, glib }:
|
|
|
|
with lib;
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "conmon-${version}";
|
|
version = "unstable-2019-03-19";
|
|
rev = "84c860029893e2e2dd71d62231f009c9dcd3c0b4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "containers";
|
|
repo = "conmon";
|
|
sha256 = "1ydidl3s7s5rfwk9gx0k80nxcixlilxw61g7x0vqsdy3mkylysv5";
|
|
inherit rev;
|
|
};
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
buildInputs = [
|
|
glib
|
|
];
|
|
|
|
installPhase = ''
|
|
install -D -m 555 bin/conmon $out/bin/conmon
|
|
'';
|
|
|
|
meta = {
|
|
homepage = https://github.com/containers/conmon;
|
|
description = "An OCI container runtime monitor";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ vdemeester ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|