at 17.09-beta 26 lines 701 B view raw
1{ stdenv, fetchurl, pam, yacc, flex }: 2 3stdenv.mkDerivation rec { 4 name = "libcgroup-${version}"; 5 version = "0.41"; 6 7 src = fetchurl { 8 url = "mirror://sourceforge/libcg/${name}.tar.bz2"; 9 sha256 = "0lgvyq37gq84sk30sg18admxaj0j0p5dq3bl6g74a1ppgvf8pqz4"; 10 }; 11 12 buildInputs = [ pam yacc flex ]; 13 14 postPatch = '' 15 substituteInPlace src/tools/Makefile.in \ 16 --replace 'chmod u+s' 'chmod +x' 17 ''; 18 19 meta = { 20 description = "Library and tools to manage Linux cgroups"; 21 homepage = "http://libcg.sourceforge.net/"; 22 license = stdenv.lib.licenses.lgpl2; 23 platforms = stdenv.lib.platforms.linux; 24 maintainers = [ stdenv.lib.maintainers.thoughtpolice ]; 25 }; 26}