nixpkgs/pkgs/os-specific/linux/cgmanager/default.nix

28 lines
747 B
Nix
Raw Normal View History

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