2015-09-18 04:24:28 +02:00
|
|
|
{ stdenv, fetchurl, pkgconfig, libnih, dbus, pam }:
|
2015-03-27 02:11:39 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-04-12 04:45:13 +02:00
|
|
|
name = "cgmanager-0.41";
|
2015-03-27 02:11:39 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://linuxcontainers.org/downloads/cgmanager/${name}.tar.gz";
|
2016-04-12 04:45:13 +02:00
|
|
|
sha256 = "0n5l4g78ifvyfnj8x9xz06mqn4y8j73sgg4xsbak7hiszfz5bc99";
|
2015-03-27 02:11:39 +01:00
|
|
|
};
|
|
|
|
|
2015-09-18 04:24:28 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ libnih dbus pam ];
|
2015-03-27 02:11:39 +01:00
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--with-init-script=systemd"
|
2015-08-01 02:07:44 +02:00
|
|
|
"--sysconfdir=/etc"
|
2015-03-27 02:11:39 +01:00
|
|
|
"--localstatedir=/var"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://linuxcontainers.org/cgmanager/introduction/;
|
2016-06-20 12:53:46 +02:00
|
|
|
description = "A central privileged daemon that manages all your cgroups";
|
2015-03-27 02:11:39 +01:00
|
|
|
license = licenses.lgpl21;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ wkennington ];
|
|
|
|
};
|
|
|
|
}
|