upgraded ocaml-mysql to 1.1.1

This commit is contained in:
Christophe Raffalli 2013-06-16 22:25:08 +02:00
parent fc36c19834
commit 27bf590d3c

View File

@ -7,17 +7,22 @@
let
ocaml_version = (builtins.parseDrvName ocaml.name).version;
pname = "ocaml-mysql";
version = "1.0.4";
version = "1.1.1";
in
stdenv.mkDerivation {
name = "${pname}-${version}";
src = fetchurl {
url = "http://raevnos.pennmush.org/code/${pname}/${pname}-${version}.tar.gz";
sha256 = "17i5almar8qrhc9drq0cvlprxf9wi9szj5kh4gnz11l9al8i3lar";
url = "https://forge.ocamlcore.org/frs/download.php/870/${pname}-${version}.tar.gz";
sha256 = "f896fa101a05d81b85af8122fe1c2809008a5e5fdca00f9ceeb7eec356369e3a";
};
configureFlags = [
"--prefix=$out"
"--libdir=$out/lib/ocaml/${ocaml_version}/site-lib/mysql"
];
buildInputs = [ocaml findlib mysql];
createFindlibDestdir = true;
@ -34,7 +39,7 @@ stdenv.mkDerivation {
'';
meta = {
homepage = http://raevnos.pennmush.org/code/ocaml-mysql/;
homepage = http://ocaml-mysql.forge.ocamlcore.org;
description = "Bindings for interacting with MySQL databases from ocaml";
license = "LGPLv2.1+";
maintainers = [ stdenv.lib.maintainers.roconnor ];