mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
Adding lxc userland tools.
svn path=/nixpkgs/trunk/; revision=24502
This commit is contained in:
parent
85a0cd1385
commit
fdc0738e0b
2 changed files with 25 additions and 0 deletions
23
pkgs/tools/system/lxc/default.nix
Normal file
23
pkgs/tools/system/lxc/default.nix
Normal 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;
|
||||
};
|
||||
}
|
|
@ -813,6 +813,8 @@ let
|
|||
|
||||
lsh = callPackage ../tools/networking/lsh { };
|
||||
|
||||
lxc = callPackage ../tools/system/lxc { };
|
||||
|
||||
lzma = xz;
|
||||
|
||||
xz = callPackage ../tools/compression/xz { };
|
||||
|
|
Loading…
Reference in a new issue