mariadb: lib -> connector-c

This commit is contained in:
Robin Gloster
2017-07-09 17:43:03 +02:00
parent 9265012de6
commit ee1c85aee9
18 changed files with 62 additions and 25 deletions

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, ocaml, findlib, mysql }:
{ stdenv, fetchurl, fetchpatch, ocaml, findlib, mysql, openssl }:
# TODO: la versione stabile da' un errore di compilazione dovuto a
# qualche cambiamento negli header .h
@@ -26,7 +26,14 @@ stdenv.mkDerivation rec {
createFindlibDestdir = true;
propagatedBuildInputs = [ mysql.client ];
propagatedBuildInputs = [ mysql.connector-c ];
patches = [
(fetchpatch {
url = "https://github.com/ygrek/ocaml-mysql/compare/v1.2.1...d6d1b3b262ae2cf493ef56f1dd7afcf663a70a26.patch";
sha256 = "0018s2wcrvbsw9yaqmwq500qmikwffrgdp5xg9b8v7ixhd4gi6hn";
})
];
meta = {
homepage = http://ocaml-mysql.forge.ocamlcore.org;