2011-11-24 13:48:16 +00:00
|
|
|
{ stdenv, fetchurl, pam, yacc, flex }:
|
2010-07-09 13:15:51 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2011-10-05 20:20:21 +00:00
|
|
|
name = "libcgroup-0.37.1";
|
|
|
|
|
2010-07-09 13:15:51 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/libcg/${name}.tar.bz2";
|
2011-10-05 20:20:21 +00:00
|
|
|
sha256 = "03awrn49bb84a9vaha1kjdbpwdnrfwmd08mlajjilr6kwlnn620b";
|
2010-07-09 13:15:51 +00:00
|
|
|
};
|
2011-10-05 20:20:21 +00:00
|
|
|
|
|
|
|
buildInputs = [ pam ];
|
|
|
|
|
|
|
|
buildNativeInputs = [ yacc flex ];
|
2011-11-24 13:48:16 +00:00
|
|
|
|
2010-07-09 13:15:51 +00:00
|
|
|
meta = {
|
2011-11-24 13:48:16 +00:00
|
|
|
description = "Library and tools to manage Linux's cgroup resource management system";
|
|
|
|
homepage = http://libcg.sourceforge.net/;
|
2010-07-09 13:15:51 +00:00
|
|
|
license = "LGPL";
|
2011-10-05 20:20:21 +00:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2010-07-09 13:15:51 +00:00
|
|
|
};
|
|
|
|
}
|