Adding lxc userland tools.

svn path=/nixpkgs/trunk/; revision=24502
This commit is contained in:
Lluís Batlle i Rossell 2010-10-26 21:11:47 +00:00
parent 85a0cd1385
commit fdc0738e0b
2 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,23 @@
{stdenv, fetchurl, libcap}:
stdenv.mkDerivation rec{
name = "lxc-0.7.3";
src = fetchurl {
url = "mirror://sourceforge/lxc/${name}.tar.gz";
sha256 = "02fs90gj8vc3sls2kknqhdv8nk7r2k85slx8x8slfz4vnz6jhfzs";
};
patchPhase = ''
sed -i -e '/ldconfig/d' src/lxc/Makefile.in
'';
buildInputs = [ libcap ];
meta = {
homepage = http://lxc.sourceforge.net;
description = "lxc Linux Containers userland tools";
license = "LGPLv2.1+";
platforms = with stdenv.lib.platforms; all;
};
}

View File

@ -813,6 +813,8 @@ let
lsh = callPackage ../tools/networking/lsh { };
lxc = callPackage ../tools/system/lxc { };
lzma = xz;
xz = callPackage ../tools/compression/xz { };