nixpkgs/pkgs/development/ruby-modules/rake/default.nix
Pjotr Prins ad3d886489 Two Ruby modules
svn path=/nixpkgs/trunk/; revision=12954
2008-10-05 09:00:56 +00:00

20 lines
490 B
Nix

{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
'';
}