Merge pull request #81765 from zowoq/conmon

conmon: 2.0.10 -> 2.0.11
This commit is contained in:
Mario Rodas 2020-03-05 07:08:22 -05:00 committed by GitHub
commit 8ec339d697
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,31 +1,30 @@
{ stdenv
, fetchFromGitHub
, pkgconfig
, pkg-config
, glib
, glibc
, systemd
}:
stdenv.mkDerivation rec {
project = "conmon";
name = "${project}-${version}";
version = "2.0.10";
pname = "conmon";
version = "2.0.11";
src = fetchFromGitHub {
owner = "containers";
repo = project;
repo = pname;
rev = "v${version}";
sha256 = "194wach3yrkvll2xaj0x77hzlngk2016mflgnd5k8knjn2b9dgvl";
sha256 = "1mdnfkbbv41g590a1ja4rfw69z6kp03znyhikdmg6zqp4qsv32ib";
};
nativeBuildInputs = [ pkgconfig ];
nativeBuildInputs = [ pkg-config ];
buildInputs = [ glib systemd ] ++
stdenv.lib.optionals (!stdenv.hostPlatform.isMusl) [ glibc glibc.static ];
installPhase = "install -Dm755 bin/${project} $out/bin/${project}";
installPhase = "install -Dm755 bin/${pname} $out/bin/${pname}";
meta = with stdenv.lib; {
homepage = https://github.com/containers/conmon;
homepage = "https://github.com/containers/conmon";
description = "An OCI container runtime monitor";
license = licenses.asl20;
maintainers = with maintainers; [ vdemeester saschagrunert ];