3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/os-specific/linux/cgmanager/default.nix

28 lines
747 B
Nix
Raw Normal View History

2019-03-14 05:45:48 +00:00
{ stdenv, fetchurl, pkgconfig, libnih, dbus, pam, popt }:
2015-03-27 01:11:39 +00:00
stdenv.mkDerivation rec {
2019-03-14 05:45:48 +00:00
pname = "cgmanager";
version = "0.42";
2015-03-27 01:11:39 +00:00
src = fetchurl {
2019-03-14 05:45:48 +00:00
url = "https://linuxcontainers.org/downloads/${pname}/${pname}-${version}.tar.gz";
sha256 = "15np08h9jrvc1y1iafr8v654mzgsv5hshzc0n4p3pbf0rkra3h7c";
2015-03-27 01:11:39 +00:00
};
2015-09-18 03:24:28 +01:00
nativeBuildInputs = [ pkgconfig ];
2019-03-14 05:45:48 +00:00
buildInputs = [ libnih dbus pam popt ];
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/;
description = "A central privileged daemon that manages all your cgroups";
2015-03-27 01:11:39 +00:00
license = licenses.lgpl21;
platforms = platforms.linux;
};
}