git.iko.soy/typeable/nixpkgs
on master help sign in
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.

commit0ced8f386c191919a89cdc529119bfefd6e07499 authorzimbatm <zimbatm@zimbatm.com> dateTue 8 Mar 2016, 21:28 (11 years ago) parent2634885
3 files changed−50
pkgs/applications/networking/cluster/rq/default.nix−36 pkgs/applications/networking/cluster/rq/rq.patch−12 pkgs/top-level/all-packages.nix−2
pkgs/applications/networking/cluster/rq/default.nixdeleted−36
@@ -1,36 +0,0 @@
1−{stdenv, fetchurl, sqlite, ruby }:
2−
3−# Package builds rq with all dependencies into one blob. This to ascertain
4−# the combination of packages works.
5−
6−stdenv.mkDerivation {
7− name = "rq-3.4.0";
8− src = fetchurl {
9− url = http://www.codeforpeople.com/lib/ruby/rq/rq-3.4.0.tgz;
10− sha256 = "1g8wiv83dcn4vzk9wjjzs9vjnwzwpy4h84h34cj32wfz793wfb8b";
11− };
12−
13− buildInputs = [ ruby ];
14−
15− # patch checks for existing stdin file - sent it upstream
16− patches = [ ./rq.patch ];
17−
18− buildPhase = ''
19− cd all
20− ./install.sh $out
21− cd ..
22− '';
23−
24− installPhase = ''
25− '';
26−
27− meta = {
28− license = stdenv.lib.licenses.ruby;
29− homepage = "http://www.codeforpeople.com/lib/ruby/rq/";
30− description = "Simple cluster queue runner";
31− 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.";
32− pkgMaintainer = "Pjotr Prins";
33− # rq installs a separate Ruby interpreter, which has lower priority
34− priority = "10";
35− };
36−}
pkgs/applications/networking/cluster/rq/rq.patchdeleted−12
@@ -1,12 +0,0 @@
1−diff -r b58e759f84db lib/rq/jobrunner.rb
2−--- a/lib/rq/jobrunner.rb Sun Sep 28 13:33:06 2008 +0200
3−+++ b/lib/rq/jobrunner.rb Sun Sep 28 13:35:09 2008 +0200
4−@@ -85,7 +85,7 @@ unless defined? $__rq_jobrunner__
5−
6− command =
7− if @sh_like
8−- sin = "0<#{ @stdin }" if @stdin
9−+ sin = "0<#{ @stdin }" if @stdin and File.exist?(@stdin)
10− sout = "1>#{ @stdout }" if @stdout
11− serr = "2>#{ @stderr }" if @stderr
12− "( PATH=#{ path }:$PATH #{ command } ;) #{ sin } #{ sout } #{ serr }"
pkgs/top-level/all-packages.nix−2
@@ -5574,8 +5574,6 @@ let
55745574
55755575 rubygems = hiPrio (callPackage ../development/interpreters/ruby/rubygems.nix {});
55765576
5577− rq = callPackage ../applications/networking/cluster/rq { };
5578−
55795577 scsh = callPackage ../development/interpreters/scsh { };
55805578
55815579 scheme48 = callPackage ../development/interpreters/scheme48 { };