gnu: Add libcgroup.

* gnu/packages/linux.scm (libcgroup): New variable.
This commit is contained in:
Tomáš Čech 2018-04-07 12:47:20 +02:00
parent 60e1de6d95
commit a69e0cf3ca
No known key found for this signature in database
GPG key ID: 4A23E34FA033436D

View file

@ -4564,3 +4564,30 @@ (define-public fbcat
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)))