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

28 lines
762 B
Nix
Raw Normal View History

2015-09-18 02:24:28 +00:00
{ stdenv, fetchurl, pkgconfig, libnih, dbus, pam }:
2015-03-27 01:11:39 +00:00
stdenv.mkDerivation rec {
2015-09-18 02:24:28 +00:00
name = "cgmanager-0.39";
2015-03-27 01:11:39 +00:00
src = fetchurl {
url = "https://linuxcontainers.org/downloads/cgmanager/${name}.tar.gz";
2015-09-18 02:24:28 +00:00
sha256 = "0ysv8klnybp727aad2k0aa67s05q027pzfl7rmm0map4nizlhrcy";
2015-03-27 01:11:39 +00:00
};
2015-09-18 02:24:28 +00:00
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libnih dbus pam ];
2015-03-27 01:11:39 +00:00
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 ];
};
}