1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 07:31:20 +00:00
nixpkgs/pkgs/development/ruby-modules/rake/default.nix

20 lines
490 B
Nix
Raw Normal View History

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