summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules
diff options
context:
space:
mode:
authorChristophe Raffalli <raffalli@univ-savoie.fr>2013-06-04 20:36:11 +0200
committerChristophe Raffalli <raffalli@univ-savoie.fr>2013-06-07 21:40:37 +0200
commit5765e186d242813c852c6a97641352051e2a993b (patch)
treed10ae9c3bbb50a44c72ef330b7944ba396d9d968 /pkgs/development/ocaml-modules
parent87e10894981e4a07f8c320c8ece7100f26fd96ca (diff)
downloadnixlib-5765e186d242813c852c6a97641352051e2a993b.tar
nixlib-5765e186d242813c852c6a97641352051e2a993b.tar.gz
nixlib-5765e186d242813c852c6a97641352051e2a993b.tar.bz2
nixlib-5765e186d242813c852c6a97641352051e2a993b.tar.lz
nixlib-5765e186d242813c852c6a97641352051e2a993b.tar.xz
nixlib-5765e186d242813c852c6a97641352051e2a993b.tar.zst
nixlib-5765e186d242813c852c6a97641352051e2a993b.zip
upgraded ocaml/sqlite3 to 2.0.4
Diffstat (limited to 'pkgs/development/ocaml-modules')
-rw-r--r--pkgs/development/ocaml-modules/sqlite3/default.nix13
1 files changed, 7 insertions, 6 deletions
diff --git a/pkgs/development/ocaml-modules/sqlite3/default.nix b/pkgs/development/ocaml-modules/sqlite3/default.nix
index a01660216bb0..63dc06634d71 100644
--- a/pkgs/development/ocaml-modules/sqlite3/default.nix
+++ b/pkgs/development/ocaml-modules/sqlite3/default.nix
@@ -1,18 +1,19 @@
-{stdenv, fetchurl, sqlite, ocaml, findlib}:
+{stdenv, fetchurl, sqlite, ocaml, findlib, pkgconfig}:
 
 stdenv.mkDerivation {
-  name = "ocaml-sqlite3-1.6.3";
+  name = "ocaml-sqlite3-2.0.4";
 
   src = fetchurl {
-    url = https://bitbucket.org/mmottl/sqlite3-ocaml/downloads/sqlite3-ocaml-1.6.3.tar.gz;
-    sha256 = "004wysf80bmb8r4yaa648v0bqrh2ry3kzy763gdksw4n15blghv5";
+    url = https://bitbucket.org/mmottl/sqlite3-ocaml/downloads/sqlite3-ocaml-2.0.4.tar.gz;
+    sha256 = "51ccb4c7a240eb40652c59e1770cfe1827dfa1eb926c969d19ff414aef4e80a1";
   };
 
-  buildInputs = [ocaml findlib];
+  buildInputs = [ocaml findlib pkgconfig ];
 
-  configureFlags = "--with-sqlite3=${sqlite}";
+  #configureFlags = "--with-sqlite3=${sqlite}";
 
   preConfigure = ''
+    export PKG_CONFIG_PATH=${sqlite}/lib/pkgconfig/
     export OCAMLPATH=$OCAMLPATH:$OCAMLFIND_DESTDIR
     mkdir -p $out/bin
   '';