mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
conmon: init at unstable-2018-11-28
conmon is a required dependency for `podman` Signed-off-by: Vincent Demeester <vincent@sbr.pm>
This commit is contained in:
parent
437e478a50
commit
933b8388da
2 changed files with 34 additions and 0 deletions
33
pkgs/applications/virtualization/podman/conmon.nix
Normal file
33
pkgs/applications/virtualization/podman/conmon.nix
Normal file
|
@ -0,0 +1,33 @@
|
|||
{ stdenv, lib, fetchFromGitHub, pkgconfig, glib }:
|
||||
|
||||
with lib;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "conmon-${version}";
|
||||
version = "unstable-2018-11-28";
|
||||
rev = "8fba206232c249a8fc4e2fac1469fb2fddbf5cf7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "containers";
|
||||
repo = "conmon";
|
||||
sha256 = "07ar0dk9i072b14f6il51yqahxp5c4fkf5jzar8rxcpvymkdy8zq";
|
||||
inherit rev;
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [
|
||||
glib
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
install -D -m 755 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;
|
||||
};
|
||||
}
|
|
@ -4966,6 +4966,7 @@ in
|
|||
|
||||
podiff = callPackage ../tools/text/podiff { };
|
||||
|
||||
conmon = callPackage ../applications/virtualization/podman/conmon.nix { };
|
||||
pod2mdoc = callPackage ../tools/misc/pod2mdoc { };
|
||||
|
||||
poedit = callPackage ../tools/text/poedit { };
|
||||
|
|
Loading…
Reference in a new issue