2015-04-10 12:54:10 +03:00
|
|
|
{ stdenv, fetchurl, ocaml, findlib, camlp4, calendar, csv, ocaml_pcre }:
|
2014-10-11 02:51:29 +04:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2015-04-10 12:54:10 +03:00
|
|
|
name = "ocaml-pgocaml-2.2";
|
2014-10-11 02:51:29 +04:00
|
|
|
src = fetchurl {
|
2015-04-10 12:54:10 +03:00
|
|
|
url = http://forge.ocamlcore.org/frs/download.php/1506/pgocaml-2.2.tgz;
|
|
|
|
sha256 = "0x0dhlz2rqxpwfdqi384f9fn0ng2irifadmxfm2b4gcz7y1cl9rh";
|
2014-10-11 02:51:29 +04:00
|
|
|
};
|
|
|
|
|
2015-04-10 12:54:10 +03:00
|
|
|
buildInputs = [ ocaml findlib camlp4 ];
|
|
|
|
propagatedBuildInputs = [ calendar csv ocaml_pcre ];
|
2014-10-11 02:51:29 +04:00
|
|
|
|
|
|
|
createFindlibDestdir = true;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "An interface to PostgreSQL databases for OCaml applications";
|
|
|
|
homepage = http://pgocaml.forge.ocamlcore.org/;
|
|
|
|
license = licenses.lgpl2;
|
2015-12-24 20:49:07 +03:00
|
|
|
platforms = ocaml.meta.platforms or [];
|
2014-10-11 02:51:29 +04:00
|
|
|
maintainers = with maintainers; [ vbgl ];
|
|
|
|
};
|
|
|
|
}
|