From cf70c1ecbc3b0ff71f41eb10c1bd76be5055f178 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Mon, 12 Apr 2010 18:48:38 +0000 Subject: [PATCH] Updating ruby libs - the same as there were svn path=/nixpkgs/trunk/; revision=21031 --- pkgs/development/interpreters/ruby/libs.nix | 377 +++++++++----------- 1 file changed, 175 insertions(+), 202 deletions(-) diff --git a/pkgs/development/interpreters/ruby/libs.nix b/pkgs/development/interpreters/ruby/libs.nix index 1b135b2b747b..40be24210fdb 100644 --- a/pkgs/development/interpreters/ruby/libs.nix +++ b/pkgs/development/interpreters/ruby/libs.nix @@ -80,6 +80,10 @@ let libs = cat ${patch} | gunzip | patch -p 1; ''; }; + + xapian_full = { + buildInputs = [ libs.rake pkgs.zlib pkgs.libuuid ]; + }; }; rubyDerivation = args : @@ -153,6 +157,22 @@ let libs = # This section has been generated by gem nix sup chronic rubygems-update xrefresh-server rb-inotify jeweler # the gem nix command has been added by a nix patch to ruby gems + json_pure_1_2_4 = rubyDerivation { + name = "ruby-json_pure-1.2.4"; # full_name + nameNoVersion = "json_pure"; + propagatedBuildInputs = [ ]; + src = fetchurl { + url = "http://gems.rubyforge.org/gems/json_pure-1.2.4.gem"; + sha256 = "1j3lwa20659qb5rvsnzxd6qlr0m56fyppgdhxc7v4phdsw3im4bp"; + }; + meta = { + homepage = "http://flori.github.com/json"; + license = []; # one of ? + description = "This is a JSON implementation in pure Ruby[...]"; + longDescription = "This is a JSON implementation in pure Ruby."; + }; + }; + rake_0_8_7 = rubyDerivation { name = "ruby-rake-0.8.7"; # full_name nameNoVersion = "rake"; @@ -169,22 +189,6 @@ let libs = }; }; - ferret_0_11_6 = rubyDerivation { - name = "ruby-ferret-0.11.6"; # full_name - nameNoVersion = "ferret"; - propagatedBuildInputs = [ ]; - src = fetchurl { - url = "http://gems.rubyforge.org/gems/ferret-0.11.6.gem"; - sha256 = "0q0zdrmfm41ijf1n19s85vg34b1a558x5cnwmbb8fc8kzxklzbih"; - }; - meta = { - homepage = "http://ferret.davebalmain.com/trac"; - license = []; # one of ? - description = "Ferret is a port of the Java Lucene project[...]"; - longDescription = "Ferret is a port of the Java Lucene project. It is a powerful indexing and search library."; - }; - }; - git_1_2_5 = rubyDerivation { name = "ruby-git-1.2.5"; # full_name nameNoVersion = "git"; @@ -201,16 +205,32 @@ let libs = }; }; - rubygems_update_1_3_5 = rubyDerivation { - name = "ruby-rubygems-update-1.3.5"; # full_name + json_1_2_4 = rubyDerivation { + name = "ruby-json-1.2.4"; # full_name + nameNoVersion = "json"; + propagatedBuildInputs = [ ]; + src = fetchurl { + url = "http://gems.rubyforge.org/gems/json-1.2.4.gem"; + sha256 = "1wdj91bl7xabgkwpz285b8086v5898x72h4lxl11n750652mrrax"; + }; + meta = { + homepage = "http://flori.github.com/json"; + license = []; # one of ? + description = "This is a JSON implementation as a Ruby extension in C[...]"; + longDescription = "This is a JSON implementation as a Ruby extension in C."; + }; + }; + + rubygems_update_1_3_6 = rubyDerivation { + name = "ruby-rubygems-update-1.3.6"; # full_name nameNoVersion = "rubygems_update"; propagatedBuildInputs = [ ]; src = fetchurl { - url = "http://gems.rubyforge.org/gems/rubygems-update-1.3.5.gem"; - sha256 = "1idzrbnl24ldxz8dmn8lz466avsn1w0rbc35lyp92fd3ar2b23qj"; + url = "http://gems.rubyforge.org/gems/rubygems-update-1.3.6.gem"; + sha256 = "1fqbm9hmy3skj9s98v8k0qghdmli7kv84wlm0m4grsrdn26xw14l"; }; meta = { - homepage = "http://rubygems.rubyforge.org/"; + homepage = "http://rubygems.org/"; license = []; # one of ? description = "RubyGems is a package management framework for Ruby This gem is an update for the RubyGems software. You must have an in"; # cut to 120 chars longDescription = "RubyGems is a package management framework for Ruby. @@ -222,11 +242,11 @@ See Gem for information on RubyGems (or `ri Gem`) To upgrade to the latest RubyGems, run: - $ gem install --system # you might need to be an administrator or root + $ gem update --system # you might need to be an administrator or root NOTE: RubyGems 1.1 and 1.2 have problems upgrading when there is no rubygems-update installed. You will need to use the following instructions -if you see "Nothing to update". +if you see \"Nothing to update\". If you have an older version of RubyGems installed, then you can still do it in two steps: @@ -247,54 +267,6 @@ For more details and other options, see: }; }; - net_ssh_2_0_17 = rubyDerivation { - name = "ruby-net-ssh-2.0.17"; # full_name - nameNoVersion = "net_ssh"; - propagatedBuildInputs = [ ]; - src = fetchurl { - url = "http://gems.rubyforge.org/gems/net-ssh-2.0.17.gem"; - sha256 = "0qswvcmq91sfii3cfr6myws2ncch9l4yzd09070yn5a3wsx4i6r5"; - }; - meta = { - homepage = "http://rubyforge.org/projects/net-ssh/"; - license = []; # one of ? - description = "Net::SSH: a pure-Ruby implementation of the SSH2 client protocol[...]"; - longDescription = "Net::SSH: a pure-Ruby implementation of the SSH2 client protocol."; - }; - }; - - rb_inotify_0_4_0 = rubyDerivation { - name = "ruby-rb-inotify-0.4.0"; # full_name - nameNoVersion = "rb_inotify"; - propagatedBuildInputs = [ ffi_0_5_4 ]; - src = fetchurl { - url = "http://gems.rubyforge.org/gems/rb-inotify-0.4.0.gem"; - sha256 = "17wanfs4jmp8c3sslb7a947ay9k78fhm1nls87cgpssmynpsmbvl"; - }; - meta = { - homepage = "http://github.com/nex3/rb-notify"; - license = []; # one of ? - description = "A Ruby wrapper for Linux's inotify, using FFI[...]"; - longDescription = "A Ruby wrapper for Linux's inotify, using FFI"; - }; - }; - - term_ansicolor_1_0_4 = rubyDerivation { - name = "ruby-term-ansicolor-1.0.4"; # full_name - nameNoVersion = "term_ansicolor"; - propagatedBuildInputs = [ ]; - src = fetchurl { - url = "http://gems.rubyforge.org/gems/term-ansicolor-1.0.4.gem"; - sha256 = "0pvyr3f0kk17nap1bm0myziskd8wn3kwba7zmp3zxks8icn0sa5j"; - }; - meta = { - homepage = "http://term-ansicolor.rubyforge.org"; - license = []; # one of ? - description = "[...]"; - longDescription = ""; - }; - }; - chronic_0_2_3 = rubyDerivation { name = "ruby-chronic-0.2.3"; # full_name nameNoVersion = "chronic"; @@ -327,13 +299,29 @@ For more details and other options, see: }; }; - ffi_0_5_4 = rubyDerivation { - name = "ruby-ffi-0.5.4"; # full_name + xapian_full_1_1_3_4 = rubyDerivation { + name = "ruby-xapian-full-1.1.3.4"; # full_name + nameNoVersion = "xapian_full"; + propagatedBuildInputs = [ ]; + src = fetchurl { + url = "http://gems.rubyforge.org/gems/xapian-full-1.1.3.4.gem"; + sha256 = "0yc08y7v5yh0lfidc0rkr072q88jvp5prv7pllv4qn4wryna8mwl"; + }; + meta = { + homepage = ""; + license = []; # one of ? + description = "Xapian bindings for Ruby without dependency on system Xapian library[...]"; + longDescription = "Xapian bindings for Ruby without dependency on system Xapian library"; + }; + }; + + ffi_0_6_3 = rubyDerivation { + name = "ruby-ffi-0.6.3"; # full_name nameNoVersion = "ffi"; propagatedBuildInputs = [ rake_0_8_7 ]; src = fetchurl { - url = "http://gems.rubyforge.org/gems/ffi-0.5.4.gem"; - sha256 = "1kxa1ljcl1907kav400w43n9fdw535qr7klj06wx1bnyaq7bfnik"; + url = "http://gems.rubyforge.org/gems/ffi-0.6.3.gem"; + sha256 = "08qnxqcnjq4i2vv1jfwdxdlsphqjrrh7r0cw8x2q0x9vjd27ncbb"; }; meta = { homepage = "http://wiki.github.com/ffi/ffi"; @@ -347,35 +335,39 @@ using Ruby-FFI here[http://wiki.github.com/ffi/ffi/why-use-ffi]."; }; }; - fastthread_1_0_7 = rubyDerivation { - name = "ruby-fastthread-1.0.7"; # full_name - nameNoVersion = "fastthread"; + term_ansicolor_1_0_5 = rubyDerivation { + name = "ruby-term-ansicolor-1.0.5"; # full_name + nameNoVersion = "term_ansicolor"; propagatedBuildInputs = [ ]; src = fetchurl { - url = "http://gems.rubyforge.org/gems/fastthread-1.0.7.gem"; - sha256 = "003ngap8rmwsl4bvf44hz8q4ajm9d0sbn38pm28dajng3pm8q6mx"; + url = "http://gems.rubyforge.org/gems/term-ansicolor-1.0.5.gem"; + sha256 = "1xhcc4dkfylj14w413pmd8jhc04wj3nlw0xa6qy9h0fnbbyh6bc1"; }; meta = { - homepage = ""; + homepage = "http://flori.github.com/term-ansicolor"; license = []; # one of ? - description = "Optimized replacement for thread[...]"; - longDescription = "Optimized replacement for thread.rb primitives"; + description = "[...]"; + longDescription = ""; }; }; - gemcutter_0_3_0 = rubyDerivation { - name = "ruby-gemcutter-0.3.0"; # full_name - nameNoVersion = "gemcutter"; + trollop_1_16_2 = rubyDerivation { + name = "ruby-trollop-1.16.2"; # full_name + nameNoVersion = "trollop"; propagatedBuildInputs = [ ]; src = fetchurl { - url = "http://gems.rubyforge.org/gems/gemcutter-0.3.0.gem"; - sha256 = "07rm04lj5rb093gf1w87rzkj9gr1pkyd5frs716wn5gd4c1silik"; + url = "http://gems.rubyforge.org/gems/trollop-1.16.2.gem"; + sha256 = "0frrp90dw266h3kf9g925dppir9l7p8jxknw6dn5nz6fa6c4g5lg"; }; meta = { - homepage = "http://gemcutter.org"; + homepage = "http://trollop.rubyforge.org"; license = []; # one of ? - description = "Adds several commands to RubyGems for managing gems and more on Gemcutter[...]"; - longDescription = "Adds several commands to RubyGems for managing gems and more on Gemcutter.org."; + description = "Trollop is a commandline option parser for Ruby that just gets out of your way For that, you get a nice automatically-gen"; # cut to 120 chars + longDescription = "Trollop is a commandline option parser for Ruby that just +gets out of your way. One line of code per option is all you need to write. +For that, you get a nice automatically-generated help page, robust option +parsing, command subcompletion, and sensible defaults for everything you don't +specify."; }; }; @@ -414,13 +406,61 @@ using Ruby-FFI here[http://wiki.github.com/ffi/ffi/why-use-ffi]."; }; }; - rubyforge_2_0_3 = rubyDerivation { - name = "ruby-rubyforge-2.0.3"; # full_name - nameNoVersion = "rubyforge"; - propagatedBuildInputs = [ json_pure_1_2_0 ]; + xrefresh_server_0_3_0 = rubyDerivation { + name = "ruby-xrefresh-server-0.3.0"; # full_name + nameNoVersion = "xrefresh_server"; + propagatedBuildInputs = [ json_1_2_4 term_ansicolor_1_0_5 ]; src = fetchurl { - url = "http://gems.rubyforge.org/gems/rubyforge-2.0.3.gem"; - sha256 = "1ck9hkad55dy25819v4gd1nmnpvcrb3i4np3hc03h1j6q8qpxg5p"; + url = "http://gems.rubyforge.org/gems/xrefresh-server-0.3.0.gem"; + sha256 = "1k80hadnmaxi8q8fw879xaj0ragy4bmqjqm7zjkv9bq8njb3i0c5"; + }; + meta = { + homepage = "http://github.com/darwin/xrefresh-server"; + license = []; # one of ? + description = "XRefresh is browser refresh automation for web developers[...]"; + longDescription = "XRefresh is browser refresh automation for web developers"; + }; + }; + + net_ssh_2_0_21 = rubyDerivation { + name = "ruby-net-ssh-2.0.21"; # full_name + nameNoVersion = "net_ssh"; + propagatedBuildInputs = [ ]; + src = fetchurl { + url = "http://gems.rubyforge.org/gems/net-ssh-2.0.21.gem"; + sha256 = "0wjfv68gn297vhb0r9qhlij9p7qnkn4afav0nylr6avrsd8mgdc4"; + }; + meta = { + homepage = "http://github.com/net-ssh/net-ssh"; + license = []; # one of ? + description = "Net::SSH: a pure-Ruby implementation of the SSH2 client protocol[...]"; + longDescription = "Net::SSH: a pure-Ruby implementation of the SSH2 client protocol."; + }; + }; + + gemcutter_0_5_0 = rubyDerivation { + name = "ruby-gemcutter-0.5.0"; # full_name + nameNoVersion = "gemcutter"; + propagatedBuildInputs = [ ]; + src = fetchurl { + url = "http://gems.rubyforge.org/gems/gemcutter-0.5.0.gem"; + sha256 = "16pf64d0mj320llars6x1zl0vhv2x8vh7pwgqj0k48pyh5426iim"; + }; + meta = { + homepage = "http://rubygems.org"; + license = []; # one of ? + description = "Adds several commands to RubyGems for managing gems and more on RubyGems[...]"; + longDescription = "Adds several commands to RubyGems for managing gems and more on RubyGems.org."; + }; + }; + + rubyforge_2_0_4 = rubyDerivation { + name = "ruby-rubyforge-2.0.4"; # full_name + nameNoVersion = "rubyforge"; + propagatedBuildInputs = [ json_pure_1_2_4 ]; + src = fetchurl { + url = "http://gems.rubyforge.org/gems/rubyforge-2.0.4.gem"; + sha256 = "1wdaa4nzy39yzy848fa1rybi72qlyf9vhi1ra9wpx9rpi810fwh1"; }; meta = { homepage = "http://codeforpeople.rubyforge.org/rubyforge/"; @@ -437,19 +477,19 @@ using Ruby-FFI here[http://wiki.github.com/ffi/ffi/why-use-ffi]."; }; }; - xrefresh_server_0_3_0 = rubyDerivation { - name = "ruby-xrefresh-server-0.3.0"; # full_name - nameNoVersion = "xrefresh_server"; - propagatedBuildInputs = [ json_1_2_0 term_ansicolor_1_0_4 ]; + rb_inotify_0_7_1 = rubyDerivation { + name = "ruby-rb-inotify-0.7.1"; # full_name + nameNoVersion = "rb_inotify"; + propagatedBuildInputs = [ ffi_0_6_3 ]; src = fetchurl { - url = "http://gems.rubyforge.org/gems/xrefresh-server-0.3.0.gem"; - sha256 = "1k80hadnmaxi8q8fw879xaj0ragy4bmqjqm7zjkv9bq8njb3i0c5"; + url = "http://gems.rubyforge.org/gems/rb-inotify-0.7.1.gem"; + sha256 = "00q2zl9361ji5z7blgipphsjvnysyw016vbb0vh6f5i5v6fz5bzh"; }; meta = { - homepage = "http://github.com/darwin/xrefresh-server"; + homepage = "http://github.com/nex3/rb-notify"; license = []; # one of ? - description = "XRefresh is browser refresh automation for web developers[...]"; - longDescription = "XRefresh is browser refresh automation for web developers"; + description = "A Ruby wrapper for Linux's inotify, using FFI[...]"; + longDescription = "A Ruby wrapper for Linux's inotify, using FFI"; }; }; @@ -486,42 +526,30 @@ using Ruby-FFI here[http://wiki.github.com/ffi/ffi/why-use-ffi]."; }; }; - highline_1_5_1 = rubyDerivation { - name = "ruby-highline-1.5.1"; # full_name + highline_1_5_2 = rubyDerivation { + name = "ruby-highline-1.5.2"; # full_name nameNoVersion = "highline"; propagatedBuildInputs = [ ]; src = fetchurl { - url = "http://gems.rubyforge.org/gems/highline-1.5.1.gem"; - sha256 = "0sawb011sc1i5glr80a4iflr0vvn3s5c97a4jmrhj3palv4df19i"; + url = "http://gems.rubyforge.org/gems/highline-1.5.2.gem"; + sha256 = "0l25zris20drrwkhxx9hplq7g353xh960y5i19fdb7g84jl4bp19"; }; meta = { homepage = "http://highline.rubyforge.org"; license = []; # one of ? - description = "A high-level IO library that provides validation, type conversion, and more for command-line interfaces[...]"; - longDescription = "A high-level IO library that provides validation, type conversion, and more for command-line interfaces. HighLine also includes a complete menu system that can crank out anything from simple list selection to complete shells with just minutes of work."; - }; - }; - - json_pure_1_2_0 = rubyDerivation { - name = "ruby-json_pure-1.2.0"; # full_name - nameNoVersion = "json_pure"; - propagatedBuildInputs = [ ]; - src = fetchurl { - url = "http://gems.rubyforge.org/gems/json_pure-1.2.0.gem"; - sha256 = "162lzzbadp62q1fjf5zyg45qly9pryjh7f6xhnf04zbjiq815pc5"; - }; - meta = { - homepage = "http://json.rubyforge.org"; - license = []; # one of ? - description = "This is a JSON implementation in pure Ruby[...]"; - longDescription = "This is a JSON implementation in pure Ruby."; + description = "A high-level IO library that provides validation, type conversion, and more for command-line interfaces crank out anythin"; # cut to 120 chars + longDescription = "A high-level IO library that provides validation, type conversion, and more for +command-line interfaces. HighLine also includes a complete menu system that can +crank out anything from simple list selection to complete shells with just +minutes of work. +"; }; }; jeweler_1_4_0 = rubyDerivation { name = "ruby-jeweler-1.4.0"; # full_name nameNoVersion = "jeweler"; - propagatedBuildInputs = [ git_1_2_5 rubyforge_2_0_3 gemcutter_0_3_0 ]; + propagatedBuildInputs = [ git_1_2_5 rubyforge_2_0_4 gemcutter_0_5_0 ]; src = fetchurl { url = "http://gems.rubyforge.org/gems/jeweler-1.4.0.gem"; sha256 = "0hsz38wc37k1zzmy1jjvsqj6am14n410bbxk1dhq55cgapnwm3kb"; @@ -534,29 +562,13 @@ using Ruby-FFI here[http://wiki.github.com/ffi/ffi/why-use-ffi]."; }; }; - json_1_2_0 = rubyDerivation { - name = "ruby-json-1.2.0"; # full_name - nameNoVersion = "json"; - propagatedBuildInputs = [ ]; - src = fetchurl { - url = "http://gems.rubyforge.org/gems/json-1.2.0.gem"; - sha256 = "0srfhr38g322l4lcnzsa6kzp64i9p24ai2bmh5wl0xx2g925b7n7"; - }; - meta = { - homepage = "http://json.rubyforge.org"; - license = []; # one of ? - description = "This is a JSON implementation as a Ruby extension in C[...]"; - longDescription = "This is a JSON implementation as a Ruby extension in C."; - }; - }; - - sup_0_9_1 = rubyDerivation { - name = "ruby-sup-0.9.1"; # full_name + sup_0_11 = rubyDerivation { + name = "ruby-sup-0.11"; # full_name nameNoVersion = "sup"; - propagatedBuildInputs = [ ferret_0_11_6 ncurses_0_9_1 rmail_1_0_0 highline_1_5_1 net_ssh_2_0_17 trollop_1_15 lockfile_1_4_3 mime_types_1_16 gettext_2_1_0 fastthread_1_0_7 ]; + propagatedBuildInputs = [ xapian_full_1_1_3_4 ncurses_0_9_1 rmail_1_0_0 highline_1_5_2 net_ssh_2_0_21 trollop_1_16_2 lockfile_1_4_3 mime_types_1_16 gettext_2_1_0 ]; src = fetchurl { - url = "http://gems.rubyforge.org/gems/sup-0.9.1.gem"; - sha256 = "0hifzcvfsbcyjszyyryfi60qiysn0i47f8jlwj3p7v7agxy5hm5a"; + url = "http://gems.rubyforge.org/gems/sup-0.11.gem"; + sha256 = "0dijz1vl1kk4axfnry71bnl2585y1hw0n6sizg9aag7r9m13194q"; }; meta = { homepage = "http://sup.rubyforge.org/"; @@ -566,43 +578,6 @@ using Ruby-FFI here[http://wiki.github.com/ffi/ffi/why-use-ffi]."; }; }; - trollop_1_15 = rubyDerivation { - name = "ruby-trollop-1.15"; # full_name - nameNoVersion = "trollop"; - propagatedBuildInputs = [ ]; - src = fetchurl { - url = "http://gems.rubyforge.org/gems/trollop-1.15.gem"; - sha256 = "0xxd96xpnxmm4195qwawpjqgnsbzw4s70jf0wz32ynmya7flgdhk"; - }; - meta = { - homepage = "http://trollop.rubyforge.org"; - license = []; # one of ? - description = "Documentation quickstart: See Trollop::options (for some reason rdoc isn't linking that; it's in the top right of the scr"; # cut to 120 chars - longDescription = "Documentation quickstart: See Trollop::options (for some reason rdoc isn't -linking that; it's in the top right of the screen if you're browsing online) -and then Trollop::Parser#opt. Also see the examples at -http://trollop.rubyforge.org/. - -== DESCRIPTION - -== REQUIREMENTS - -* A burning desire to write less code. - -== INSTALL - -* gem install trollop - -== LICENSE - -Copyright (c) 2008--2009 William Morgan. Trollop is distributed under the same -terms as Ruby. - - -"; - }; - }; - rmail_1_0_0 = rubyDerivation { name = "ruby-rmail-1.0.0"; # full_name nameNoVersion = "rmail"; @@ -621,30 +596,28 @@ terms as Ruby. # aliases rmail=rmail_1_0_0; -term_ansicolor=term_ansicolor_1_0_4; -fastthread=fastthread_1_0_7; -rb_inotify=rb_inotify_0_4_0; -highline=highline_1_5_1; -rubygems_update=rubygems_update_1_3_5; +term_ansicolor=term_ansicolor_1_0_5; +rb_inotify=rb_inotify_0_7_1; +highline=highline_1_5_2; +rubygems_update=rubygems_update_1_3_6; rake=rake_0_8_7; -sup=sup_0_9_1; +sup=sup_0_11; mime_types=mime_types_1_16; -rubyforge=rubyforge_2_0_3; -gemcutter=gemcutter_0_3_0; -ferret=ferret_0_11_6; -json=json_1_2_0; +rubyforge=rubyforge_2_0_4; +gemcutter=gemcutter_0_5_0; +net_ssh=net_ssh_2_0_21; xrefresh_server=xrefresh_server_0_3_0; +xapian_full=xapian_full_1_1_3_4; ncurses=ncurses_0_9_1; -net_ssh=net_ssh_2_0_17; -trollop=trollop_1_15; +json=json_1_2_4; jeweler=jeweler_1_4_0; gettext=gettext_2_1_0; +trollop=trollop_1_16_2; git=git_1_2_5; -json_pure=json_pure_1_2_0; locale=locale_2_0_5; chronic=chronic_0_2_3; +json_pure=json_pure_1_2_4; lockfile=lockfile_1_4_3; -ffi=ffi_0_5_4; - +ffi=ffi_0_6_3; # ================ END automatically generated code ================ }; in libs