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

28 lines
762 B
Nix
Raw Normal View History

2015-09-18 04:24:28 +02:00
{ stdenv, fetchurl, pkgconfig, libnih, dbus, pam }:
2015-03-27 02:11:39 +01:00
stdenv.mkDerivation rec {
2016-04-12 04:45:13 +02:00
name = "cgmanager-0.41";
2015-03-27 02:11:39 +01:00
src = fetchurl {
url = "https://linuxcontainers.org/downloads/cgmanager/${name}.tar.gz";
2016-04-12 04:45:13 +02:00
sha256 = "0n5l4g78ifvyfnj8x9xz06mqn4y8j73sgg4xsbak7hiszfz5bc99";
2015-03-27 02:11:39 +01:00
};
2015-09-18 04:24:28 +02:00
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libnih dbus pam ];
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";
license = licenses.lgpl21;
platforms = platforms.linux;
maintainers = with maintainers; [ wkennington ];
};
}