2015-03-27 01:11:39 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, libnih, dbus }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2015-08-01 00:07:44 +00:00
|
|
|
name = "cgmanager-0.37";
|
2015-03-27 01:11:39 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://linuxcontainers.org/downloads/cgmanager/${name}.tar.gz";
|
2015-08-01 00:07:44 +00:00
|
|
|
sha256 = "0vkv8am6h3x89c1rqb6a1glwz3mik3065jigri96njjzmvrff2c3";
|
2015-03-27 01:11:39 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ pkgconfig libnih dbus ];
|
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--with-init-script=systemd"
|
2015-08-01 00:07:44 +00:00
|
|
|
"--sysconfdir=/etc"
|
2015-03-27 01:11:39 +00:00
|
|
|
"--localstatedir=/var"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://linuxcontainers.org/cgmanager/introduction/;
|
|
|
|
description = "a central privileged daemon that manages all your cgroups";
|
|
|
|
license = licenses.lgpl21;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ wkennington ];
|
|
|
|
};
|
|
|
|
}
|