diff --git a/pkgs/development/ocaml-modules/sqlite3/default.nix b/pkgs/development/ocaml-modules/sqlite3/default.nix index d1203e6f2907..a01660216bb0 100644 --- a/pkgs/development/ocaml-modules/sqlite3/default.nix +++ b/pkgs/development/ocaml-modules/sqlite3/default.nix @@ -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;