From a69e0cf3ca84079a6e1765040e9dee5e2858bf9f Mon Sep 17 00:00:00 2001 From: Tomáš Čech Date: Sat, 7 Apr 2018 12:47:20 +0200 Subject: gnu: Add libcgroup. * gnu/packages/linux.scm (libcgroup): New variable. --- gnu/packages/linux.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index de8dc572de..e774dbb3a0 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -4564,3 +4564,30 @@ text-mode or graphical applications that don't use a display server. Also included is @command{fbgrab}, a wrapper around @command{fbcat} that emulates the behaviour of Gunnar Monell's older fbgrab utility.") (license license:gpl2))) + +(define-public libcgroup + (package + (name "libcgroup") + (version "0.41") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://sourceforge/libcg/" name "/" + version "/" name "-" version ".tar.bz2")) + (sha256 + (base32 "0lgvyq37gq84sk30sg18admxaj0j0p5dq3bl6g74a1ppgvf8pqz4")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f)) + (native-inputs + `(("bison" ,bison) + ("flex" ,flex))) + (inputs + `(("linux-pam" ,linux-pam))) + (home-page "https://sourceforge.net/projects/libcg/") + (synopsis "Control groups management tools") + (description "Control groups is Linux kernel method for process resource +restriction, permission handling and more. This package provides userspace +interface to this kernel feature.") + (license license:lgpl2.1))) -- cgit v1.2.3