nixpkgs/pkgs/applications/virtualization/podman/conmon.nix
Vincent Demeester 91fc821cc1
podman: 1.1.2 -> 1.2.0
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2019-04-05 16:56:37 +02:00

33 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;
};
}