about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/sqlite3
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2014-11-11 20:06:40 +0000
committerVincent Laporte <Vincent.Laporte@gmail.com>2014-11-11 20:08:37 +0000
commit9bfa20862132cd04b85b8f2e9ac3f0a2b81eb0b3 (patch)
tree670dd7f85adc7a4de5d5d7d8ec60ede18bbaf4e8 /pkgs/development/ocaml-modules/sqlite3
parentd12d84bf78960e4d16a9ae339796b84135ca30be (diff)
downloadnixlib-9bfa20862132cd04b85b8f2e9ac3f0a2b81eb0b3.tar
nixlib-9bfa20862132cd04b85b8f2e9ac3f0a2b81eb0b3.tar.gz
nixlib-9bfa20862132cd04b85b8f2e9ac3f0a2b81eb0b3.tar.bz2
nixlib-9bfa20862132cd04b85b8f2e9ac3f0a2b81eb0b3.tar.lz
nixlib-9bfa20862132cd04b85b8f2e9ac3f0a2b81eb0b3.tar.xz
nixlib-9bfa20862132cd04b85b8f2e9ac3f0a2b81eb0b3.tar.zst
nixlib-9bfa20862132cd04b85b8f2e9ac3f0a2b81eb0b3.zip
ocaml-sqlite3: update from 2.0.4 to 2.0.7
Diffstat (limited to 'pkgs/development/ocaml-modules/sqlite3')
-rw-r--r--pkgs/development/ocaml-modules/sqlite3/default.nix26
1 files changed, 9 insertions, 17 deletions
diff --git a/pkgs/development/ocaml-modules/sqlite3/default.nix b/pkgs/development/ocaml-modules/sqlite3/default.nix
index d92207cd20b1..4111e2646583 100644
--- a/pkgs/development/ocaml-modules/sqlite3/default.nix
+++ b/pkgs/development/ocaml-modules/sqlite3/default.nix
@@ -1,32 +1,24 @@
 {stdenv, fetchurl, sqlite, ocaml, findlib, pkgconfig}:
 
 stdenv.mkDerivation {
-  name = "ocaml-sqlite3-2.0.4";
+  name = "ocaml-sqlite3-2.0.7";
 
   src = fetchurl {
-    url = https://bitbucket.org/mmottl/sqlite3-ocaml/downloads/sqlite3-ocaml-2.0.4.tar.gz;
-    sha256 = "51ccb4c7a240eb40652c59e1770cfe1827dfa1eb926c969d19ff414aef4e80a1";
+    url = https://github.com/mmottl/sqlite3-ocaml/archive/v2.0.7.tar.gz;
+    sha256 = "04m7qz251m6l2b7slkgml2j8bnx60lwzbdbsv95vidwzqcwg7bdq";
   };
 
-  buildInputs = [ocaml findlib pkgconfig ];
-
-  #configureFlags = "--with-sqlite3=${sqlite}";
-
-  preConfigure = ''
-    export PKG_CONFIG_PATH=${sqlite}/lib/pkgconfig/
-    export OCAMLPATH=$OCAMLPATH:$OCAMLFIND_DESTDIR
-    mkdir -p $out/bin
-  '';
+  buildInputs = [ocaml findlib pkgconfig sqlite];
 
   createFindlibDestdir = true;
 
-  meta = {
-    homepage = https://bitbucket.org/mmottl/sqlite3-ocaml;
+  meta = with stdenv.lib; {
+    homepage = http://mmottl.github.io/sqlite3-ocaml/;
     description = "OCaml bindings to the SQLite 3 database access library";
-    license = stdenv.lib.licenses.mit;
+    license = licenses.mit;
     platforms = ocaml.meta.platforms;
-    maintainers = [
-      stdenv.lib.maintainers.z77z
+    maintainers = with maintainers; [
+      z77z vbgl
     ];
   };
 }