rq (a cluster runner) works
svn path=/nixpkgs/trunk/; revision=12950
This commit is contained in:
parent
d2499a6e52
commit
6c772d627f
@ -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";
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user