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