rq: package removed

rq only compiles with ruby 1.8 which we don't distribute anymore.

the source is dead.

there is a 1.9 branch over https://github.com/pjotrp/rq that hasn't been
touched for 4 years.
This commit is contained in:
zimbatm 2016-03-08 21:28:08 +00:00
parent 263488530e
commit 0ced8f386c
3 changed files with 0 additions and 50 deletions

View File

@ -1,36 +0,0 @@
{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 {
url = http://www.codeforpeople.com/lib/ruby/rq/rq-3.4.0.tgz;
sha256 = "1g8wiv83dcn4vzk9wjjzs9vjnwzwpy4h84h34cj32wfz793wfb8b";
};
buildInputs = [ ruby ];
# patch checks for existing stdin file - sent it upstream
patches = [ ./rq.patch ];
buildPhase = ''
cd all
./install.sh $out
cd ..
'';
installPhase = ''
'';
meta = {
license = stdenv.lib.licenses.ruby;
homepage = "http://www.codeforpeople.com/lib/ruby/rq/";
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";
};
}

View File

@ -1,12 +0,0 @@
diff -r b58e759f84db lib/rq/jobrunner.rb
--- a/lib/rq/jobrunner.rb Sun Sep 28 13:33:06 2008 +0200
+++ b/lib/rq/jobrunner.rb Sun Sep 28 13:35:09 2008 +0200
@@ -85,7 +85,7 @@ unless defined? $__rq_jobrunner__
command =
if @sh_like
- sin = "0<#{ @stdin }" if @stdin
+ sin = "0<#{ @stdin }" if @stdin and File.exist?(@stdin)
sout = "1>#{ @stdout }" if @stdout
serr = "2>#{ @stderr }" if @stderr
"( PATH=#{ path }:$PATH #{ command } ;) #{ sin } #{ sout } #{ serr }"

View File

@ -5574,8 +5574,6 @@ let
rubygems = hiPrio (callPackage ../development/interpreters/ruby/rubygems.nix {});
rq = callPackage ../applications/networking/cluster/rq { };
scsh = callPackage ../development/interpreters/scsh { };
scheme48 = callPackage ../development/interpreters/scheme48 { };