mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 08:04:14 +00:00
b5c1deca8a
He prefers to contribute to his own nixpkgs fork triton. Since he is still marked as maintainer in many packages this leaves the wrong impression he still maintains those.
27 lines
709 B
Nix
27 lines
709 B
Nix
{ stdenv, fetchurl, pkgconfig, libnih, dbus, pam }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "cgmanager-0.41";
|
|
|
|
src = fetchurl {
|
|
url = "https://linuxcontainers.org/downloads/cgmanager/${name}.tar.gz";
|
|
sha256 = "0n5l4g78ifvyfnj8x9xz06mqn4y8j73sgg4xsbak7hiszfz5bc99";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
buildInputs = [ libnih dbus pam ];
|
|
|
|
configureFlags = [
|
|
"--with-init-script=systemd"
|
|
"--sysconfdir=/etc"
|
|
"--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;
|
|
};
|
|
}
|