1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/os-specific/linux/cgmanager/default.nix
Bjørn Forsman bd01fad0ed Captialize meta.description of all packages
In line with the Nixpkgs manual.

A mechanical change, done with this command:

  find pkgs -name "*.nix" | \
      while read f; do \
          sed -e 's/description\s*=\s*"\([a-z]\)/description = "\u\1/' -i "$f"; \
      done

I manually skipped some:

* Descriptions starting with an abbreviation, a user name or package name
* Frequently generated expressions (haskell-packages.nix)
2016-06-20 13:55:52 +02:00

28 lines
762 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;
maintainers = with maintainers; [ wkennington ];
};
}