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