about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorPjotr Prins <pjotr.public01@thebird.nl>2008-10-05 08:48:49 +0000
committerPjotr Prins <pjotr.public01@thebird.nl>2008-10-05 08:48:49 +0000
commit6c772d627ffc2dccecab61a47fcd8ee28dce9fdd (patch)
tree52627dfbbfa32e1a25d1dd09c6517daf05d5febb /pkgs
parentd2499a6e5285f9c42280b33080d52374fa4b2b7a (diff)
downloadnixlib-6c772d627ffc2dccecab61a47fcd8ee28dce9fdd.tar
nixlib-6c772d627ffc2dccecab61a47fcd8ee28dce9fdd.tar.gz
nixlib-6c772d627ffc2dccecab61a47fcd8ee28dce9fdd.tar.bz2
nixlib-6c772d627ffc2dccecab61a47fcd8ee28dce9fdd.tar.lz
nixlib-6c772d627ffc2dccecab61a47fcd8ee28dce9fdd.tar.xz
nixlib-6c772d627ffc2dccecab61a47fcd8ee28dce9fdd.tar.zst
nixlib-6c772d627ffc2dccecab61a47fcd8ee28dce9fdd.zip
rq (a cluster runner) works
svn path=/nixpkgs/trunk/; revision=12950
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/applications/networking/cluster/rq/default.nix23
1 files changed, 20 insertions, 3 deletions
diff --git a/pkgs/applications/networking/cluster/rq/default.nix b/pkgs/applications/networking/cluster/rq/default.nix
index 7451042b6da7..8935aeb2771a 100644
--- a/pkgs/applications/networking/cluster/rq/default.nix
+++ b/pkgs/applications/networking/cluster/rq/default.nix
@@ -1,5 +1,8 @@
 {stdenv, fetchurl, sqlite, ruby }:
 
+# Package builds rq with all dependencies into one blob. This to ascertain
+# the combination of packages works.
+
 stdenv.mkDerivation {
   name = "rq-3.4.0";
   src = fetchurl {
@@ -9,11 +12,25 @@ stdenv.mkDerivation {
 
   buildInputs = [ ruby ];
 
-  installPhase = "ruby install.rb";
-  
+  # patch checks for existing stdin file - sent it upstream
+  patches = [ ./rq.patch ];
+
+  buildPhase = ''
+    cd all
+    ./install.sh $out
+    cd ..
+  '';
+
+  installPhase = ''
+  '';
+
   meta = {
     license = "Ruby";
     homepage = "http://www.codeforpeople.com/lib/ruby/rq/";
-    description = "rq is a tool used to create instant linux clusters by managing sqlite databases as nfs mounted priority work queues";
+    description = "Simple cluster queue runner";
+    longDescription = "rq creates instant linux clusters by managing priority work queues, even on a multi-core single machine. This cluster runner is easy to install and easy to manage, contrasting with the common complicated solutions.";
+    pkgMaintainer = "Pjotr Prins";
+    # rq installs a separate Ruby interpreter, which has lower priority
+    priority = "10";
   };
 }