11 # TODO: la versione stabile da' un errore di compilazione dovuto a
12 # qualche cambiamento negli header .h
13 # TODO: compilazione di moduli dipendenti da zip, ssl, tcl, gtk, gtk2
16 pname = "ocaml-mysql";
19 stdenv.mkDerivation rec {
20 name = "${pname}-${version}";
24 url = "http://ygrek.org.ua/p/release/ocaml-mysql/${name}.tar.gz";
25 sha256 = "06mb2bq7v37wn0lza61917zqgb4bsg1xxb73myjyn88p6khl6yl2";
30 "--libdir=$out/lib/ocaml/${ocaml.version}/site-lib/mysql"
38 createFindlibDestdir = true;
40 propagatedBuildInputs = [ libmysqlclient ];
46 url = "https://github.com/ygrek/ocaml-mysql/compare/v1.2.1...d6d1b3b262ae2cf493ef56f1dd7afcf663a70a26.patch";
47 sha256 = "0018s2wcrvbsw9yaqmwq500qmikwffrgdp5xg9b8v7ixhd4gi6hn";
52 homepage = "http://ocaml-mysql.forge.ocamlcore.org";
53 description = "Bindings for interacting with MySQL databases from ocaml";
54 license = lib.licenses.lgpl21Plus;
55 maintainers = [ lib.maintainers.roconnor ];