at v192 22 lines 708 B view raw
1{ stdenv, fetchurl, ocaml, findlib, camlp4, calendar, csv, ocaml_pcre }: 2 3stdenv.mkDerivation { 4 name = "ocaml-pgocaml-2.2"; 5 src = fetchurl { 6 url = http://forge.ocamlcore.org/frs/download.php/1506/pgocaml-2.2.tgz; 7 sha256 = "0x0dhlz2rqxpwfdqi384f9fn0ng2irifadmxfm2b4gcz7y1cl9rh"; 8 }; 9 10 buildInputs = [ ocaml findlib camlp4 ]; 11 propagatedBuildInputs = [ calendar csv ocaml_pcre ]; 12 13 createFindlibDestdir = true; 14 15 meta = with stdenv.lib; { 16 description = "An interface to PostgreSQL databases for OCaml applications"; 17 homepage = http://pgocaml.forge.ocamlcore.org/; 18 license = licenses.lgpl2; 19 platforms = ocaml.meta.platforms; 20 maintainers = with maintainers; [ vbgl ]; 21 }; 22}