3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/ruby-modules/sqlite3/default.nix
Eelco Dolstra c556a6ea46 * "ensureDir" -> "mkdir -p". "ensureDir" is a rather pointless
function, so obsolete it.

svn path=/nixpkgs/branches/stdenv-updates/; revision=31644
2012-01-18 20:16:00 +00:00

19 lines
500 B
Nix

{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 = ''
mkdir -p $out/lib
ruby setup.rb config --prefix=$out
# --bindir $out/bin --libdir $out/lib
ruby setup.rb setup
ruby setup.rb install
'';
}