ocaml-sqlite3: update from 2.0.4 to 2.0.7

This commit is contained in:
Vincent Laporte 2014-11-11 20:06:40 +00:00
parent d12d84bf78
commit 9bfa208621

View File

@ -1,32 +1,24 @@
{stdenv, fetchurl, sqlite, ocaml, findlib, pkgconfig}: {stdenv, fetchurl, sqlite, ocaml, findlib, pkgconfig}:
stdenv.mkDerivation { stdenv.mkDerivation {
name = "ocaml-sqlite3-2.0.4"; name = "ocaml-sqlite3-2.0.7";
src = fetchurl { src = fetchurl {
url = https://bitbucket.org/mmottl/sqlite3-ocaml/downloads/sqlite3-ocaml-2.0.4.tar.gz; url = https://github.com/mmottl/sqlite3-ocaml/archive/v2.0.7.tar.gz;
sha256 = "51ccb4c7a240eb40652c59e1770cfe1827dfa1eb926c969d19ff414aef4e80a1"; sha256 = "04m7qz251m6l2b7slkgml2j8bnx60lwzbdbsv95vidwzqcwg7bdq";
}; };
buildInputs = [ocaml findlib pkgconfig ]; buildInputs = [ocaml findlib pkgconfig sqlite];
#configureFlags = "--with-sqlite3=${sqlite}";
preConfigure = ''
export PKG_CONFIG_PATH=${sqlite}/lib/pkgconfig/
export OCAMLPATH=$OCAMLPATH:$OCAMLFIND_DESTDIR
mkdir -p $out/bin
'';
createFindlibDestdir = true; createFindlibDestdir = true;
meta = { meta = with stdenv.lib; {
homepage = https://bitbucket.org/mmottl/sqlite3-ocaml; homepage = http://mmottl.github.io/sqlite3-ocaml/;
description = "OCaml bindings to the SQLite 3 database access library"; description = "OCaml bindings to the SQLite 3 database access library";
license = stdenv.lib.licenses.mit; license = licenses.mit;
platforms = ocaml.meta.platforms; platforms = ocaml.meta.platforms;
maintainers = [ maintainers = with maintainers; [
stdenv.lib.maintainers.z77z z77z vbgl
]; ];
}; };
} }