about summary refs log tree commit diff
path: root/pkgs/tools/system/lxc
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2010-10-26 21:11:47 +0000
committerLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2010-10-26 21:11:47 +0000
commitfdc0738e0b74c513e24e73dbb69e0d749aab0cf5 (patch)
tree73274417a3c5615e07d128c81dcdd858f36e2d6f /pkgs/tools/system/lxc
parent85a0cd138584689b87669868dd49e8e3fd74d6f9 (diff)
Adding lxc userland tools.
svn path=/nixpkgs/trunk/; revision=24502
Diffstat (limited to 'pkgs/tools/system/lxc')
-rw-r--r--pkgs/tools/system/lxc/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/tools/system/lxc/default.nix b/pkgs/tools/system/lxc/default.nix
new file mode 100644
index 0000000000000..0d7d5165bac79
--- /dev/null
+++ b/pkgs/tools/system/lxc/default.nix
@@ -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;
+  };
+}