Update OCaml sqlite3

svn path=/nixpkgs/trunk/; revision=34312
This commit is contained in:
Marco Maggesi 2012-06-01 09:42:29 +00:00
parent de6b7ac64e
commit 6cf6d40534

View File

@ -1,17 +1,11 @@
{stdenv, fetchurl, sqlite, ocaml, findlib}:
let
ocaml_version = (builtins.parseDrvName ocaml.name).version;
version = "1.5.8";
in
stdenv.mkDerivation {
name = "ocaml-sqlite3-${version}";
name = "ocaml-sqlite3-1.6.3";
src = fetchurl {
url = "http://hg.ocaml.info/release/ocaml-sqlite3/archive/" +
"release-${version}.tar.bz2";
sha256 = "0fqbxm90mc2gk6jp9p8s53kay0hbcd0qc0adq8znanz99n8zqp53";
url = https://bitbucket.org/mmottl/sqlite3-ocaml/downloads/sqlite3-ocaml-1.6.3.tar.gz;
sha256 = "004wysf80bmb8r4yaa648v0bqrh2ry3kzy763gdksw4n15blghv5";
};
buildInputs = [ocaml findlib];
@ -26,7 +20,7 @@ stdenv.mkDerivation {
createFindlibDestdir = true;
meta = {
homepage = "http://ocaml.info/home/ocaml_sources.html#ocaml-sqlite3";
homepage = https://bitbucket.org/mmottl/sqlite3-ocaml;
description = "OCaml bindings to the SQLite 3 database access library";
license = "MIT/X11";
platforms = ocaml.meta.platforms;