Author: eelco
Date: Mon Feb 21 21:53:42 2011
New Revision: 26047
URL: https://svn.nixos.org/websvn/nix/?rev=26047&sc=1

Log:
* Added OpenStack Compute (Nova).  It builds but doesn't work yet.

Added:
   nixpkgs/trunk/pkgs/applications/virtualization/openstack-compute/
   nixpkgs/trunk/pkgs/applications/virtualization/openstack-compute/default.nix
Modified:
   nixpkgs/trunk/pkgs/top-level/all-packages.nix

Added: 
nixpkgs/trunk/pkgs/applications/virtualization/openstack-compute/default.nix
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ 
nixpkgs/trunk/pkgs/applications/virtualization/openstack-compute/default.nix    
    Mon Feb 21 21:53:42 2011        (r26047)
@@ -0,0 +1,33 @@
+{ stdenv, fetchurl, python, setuptools, pythonPackages }:
+
+let version = "2011.1"; in
+
+stdenv.mkDerivation {
+  name = "openstack-compute-2011.1";
+
+  src = fetchurl {
+    url = http://launchpad.net/nova/bexar/2011.1/+download/nova-2011.1.tar.gz;
+    sha256 = "1g8f75mzjpkzhqk91hga5wpjh8d0kbc9fxxjk0px0qjk20qrmb45";
+  };
+
+  buildInputs =
+    [ python setuptools pythonPackages.gflags pythonPackages.netaddr 
pythonPackages.eventlet
+    ];
+
+  preConfigure = "export HOME=$(pwd)";
+  
+  buildPhase = "python setup.py build";
+
+  installPhase =
+    ''
+      p=$(toPythonPath $out)
+      export PYTHONPATH=$p:$PYTHONPATH
+      mkdir -p $p
+      python setup.py install --prefix=$out
+    '';
+
+  meta = {
+    homepage = http://nova.openstack.org/;
+    description = "OpenStack Compute (a.k.a. Nova), a cloud computing fabric 
controller";
+  };
+}

Modified: nixpkgs/trunk/pkgs/top-level/all-packages.nix
==============================================================================
--- nixpkgs/trunk/pkgs/top-level/all-packages.nix       Mon Feb 21 21:49:20 
2011        (r26046)
+++ nixpkgs/trunk/pkgs/top-level/all-packages.nix       Mon Feb 21 21:53:42 
2011        (r26047)
@@ -6452,6 +6452,8 @@
     neon = neon029;
   };
 
+  openstack_compute = callPackage 
../applications/virtualization/openstack-compute { };
+
   opera = callPackage ../applications/networking/browsers/opera {
     qt = qt3;
   };
_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits

Reply via email to