diff options
author | Pjotr Prins <pjotr.public01@thebird.nl> | 2008-10-05 09:00:56 +0000 |
---|---|---|
committer | Pjotr Prins <pjotr.public01@thebird.nl> | 2008-10-05 09:00:56 +0000 |
commit | ad3d8864897cc094915143720298fca2b7c357ca (patch) | |
tree | 4229ae938979c49b92bdb6bf246166cdb5e77fef /pkgs/development/ruby-modules | |
parent | 034f28e268d49d0b49de9d13ce90fcfe247d81d0 (diff) |
Two Ruby modules
svn path=/nixpkgs/trunk/; revision=12954
Diffstat (limited to 'pkgs/development/ruby-modules')
-rw-r--r-- | pkgs/development/ruby-modules/rake/default.nix | 19 | ||||
-rw-r--r-- | pkgs/development/ruby-modules/sqlite3/default.nix | 18 |
2 files changed, 37 insertions, 0 deletions
diff --git a/pkgs/development/ruby-modules/rake/default.nix b/pkgs/development/ruby-modules/rake/default.nix new file mode 100644 index 000000000000..7e724f9773af --- /dev/null +++ b/pkgs/development/ruby-modules/rake/default.nix @@ -0,0 +1,19 @@ +{stdenv, fetchurl, ruby}: + +stdenv.mkDerivation { + name = "rake-0.8.1"; + src = fetchurl { + url = "http://rubyforge.org/frs/download.php/29752/rake-0.8.1.tgz"; + sha256 = "1kggvkkj609hj1xvpadzchki66i7ynz3qq4nc2hmfkf536fx8c03"; + }; + buildInputs = [ruby]; + buildPhase = "true"; + installPhase = '' + ensureDir $out/lib + ensureDir $out/bin + ruby setup.rb config --prefix=$out + # --bindir $out/bin --libdir $out/lib + ruby setup.rb setup + ruby setup.rb install + ''; +} diff --git a/pkgs/development/ruby-modules/sqlite3/default.nix b/pkgs/development/ruby-modules/sqlite3/default.nix new file mode 100644 index 000000000000..a37e91c488ff --- /dev/null +++ b/pkgs/development/ruby-modules/sqlite3/default.nix @@ -0,0 +1,18 @@ +{stdenv, fetchurl, ruby, sqlite}: + +stdenv.mkDerivation { + name = "ruby-sqlite3-1.2.4"; + src = fetchurl { + url = http://rubyforge.org/frs/download.php/42055/sqlite3-ruby-1.2.4.tar.bz2; + sha256 = "1mmhlrggzdsbhpmifv1iibrf4ch3ycm878pxil3x3xhf9l6vp0a7"; + }; + buildInputs = [ruby sqlite]; + buildPhase = "true"; + installPhase = '' + ensureDir $out/lib + ruby setup.rb config --prefix=$out + # --bindir $out/bin --libdir $out/lib + ruby setup.rb setup + ruby setup.rb install + ''; +} |