diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2017-03-25 09:54:46 +0000 |
---|---|---|
committer | Vincent Laporte <Vincent.Laporte@gmail.com> | 2017-03-25 09:54:46 +0000 |
commit | e3fd4ec6ceb8988c3d6bcace4d02073f63d73498 (patch) | |
tree | 2d28902f7f1cfd3f284b868e03be0ea1e9622f75 /pkgs/development/ocaml-modules | |
parent | 6c9bfa3bd78c357f9dc4c29a2c4d54ce5a7d4b7e (diff) | |
download | nixlib-e3fd4ec6ceb8988c3d6bcace4d02073f63d73498.tar nixlib-e3fd4ec6ceb8988c3d6bcace4d02073f63d73498.tar.gz nixlib-e3fd4ec6ceb8988c3d6bcace4d02073f63d73498.tar.bz2 nixlib-e3fd4ec6ceb8988c3d6bcace4d02073f63d73498.tar.lz nixlib-e3fd4ec6ceb8988c3d6bcace4d02073f63d73498.tar.xz nixlib-e3fd4ec6ceb8988c3d6bcace4d02073f63d73498.tar.zst nixlib-e3fd4ec6ceb8988c3d6bcace4d02073f63d73498.zip |
ocamlPackages.ocaml_mysql: 1.1.1 -> 1.2.1
Diffstat (limited to 'pkgs/development/ocaml-modules')
-rw-r--r-- | pkgs/development/ocaml-modules/mysql/default.nix | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/pkgs/development/ocaml-modules/mysql/default.nix b/pkgs/development/ocaml-modules/mysql/default.nix index 9eafa055b240..3fa8e9d46b40 100644 --- a/pkgs/development/ocaml-modules/mysql/default.nix +++ b/pkgs/development/ocaml-modules/mysql/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, ocaml, findlib, mysql, camlp4 }: +{ stdenv, fetchurl, ocaml, findlib, mysql }: # TODO: la versione stabile da' un errore di compilazione dovuto a # qualche cambiamento negli header .h @@ -10,11 +10,11 @@ in stdenv.mkDerivation rec { name = "${pname}-${version}"; - version = "1.1.1"; + version = "1.2.1"; src = fetchurl { - url = "https://forge.ocamlcore.org/frs/download.php/870/${pname}-${version}.tar.gz"; - sha256 = "f896fa101a05d81b85af8122fe1c2809008a5e5fdca00f9ceeb7eec356369e3a"; + url = "http://ygrek.org.ua/p/release/ocaml-mysql/${name}.tar.gz"; + sha256 = "06mb2bq7v37wn0lza61917zqgb4bsg1xxb73myjyn88p6khl6yl2"; }; configureFlags = [ @@ -22,17 +22,12 @@ stdenv.mkDerivation rec { "--libdir=$out/lib/ocaml/${ocaml.version}/site-lib/mysql" ]; - buildInputs = [ocaml findlib camlp4 ]; + buildInputs = [ ocaml findlib ]; createFindlibDestdir = true; propagatedBuildInputs = [ mysql.client ]; - buildPhase = '' - make - make opt - ''; - meta = { homepage = http://ocaml-mysql.forge.ocamlcore.org; description = "Bindings for interacting with MySQL databases from ocaml"; |