mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 20:34:52 +03:00
ocaml-pgocaml: new package
PG'OCaml provides an interface to PostgreSQL databases for OCaml applications. Homepage: http://pgocaml.forge.ocamlcore.org/
This commit is contained in:
parent
cdf3dc2793
commit
33bba5f0b3
22
pkgs/development/ocaml-modules/pgocaml/default.nix
Normal file
22
pkgs/development/ocaml-modules/pgocaml/default.nix
Normal file
@ -0,0 +1,22 @@
|
||||
{stdenv, fetchurl, ocaml, findlib, camlp4, calendar, csv, ocaml_pcre}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "ocaml-pgocaml-2.1";
|
||||
src = fetchurl {
|
||||
url = http://forge.ocamlcore.org/frs/download.php/1413/pgocaml-2.1.tgz;
|
||||
sha256 = "0m7whlmhm7z58pfaarvkyiwaylmrz05aj6fr773zd9xlv07ljiym";
|
||||
};
|
||||
|
||||
buildInputs = [ocaml findlib camlp4];
|
||||
propagatedBuildInputs = [calendar csv ocaml_pcre];
|
||||
|
||||
createFindlibDestdir = true;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "An interface to PostgreSQL databases for OCaml applications";
|
||||
homepage = http://pgocaml.forge.ocamlcore.org/;
|
||||
license = licenses.lgpl2;
|
||||
platforms = ocaml.meta.platforms;
|
||||
maintainers = with maintainers; [ vbgl ];
|
||||
};
|
||||
}
|
@ -3535,6 +3535,8 @@ let
|
||||
inherit pcre;
|
||||
};
|
||||
|
||||
pgocaml = callPackage ../development/ocaml-modules/pgocaml {};
|
||||
|
||||
ocaml_react = callPackage ../development/ocaml-modules/react { };
|
||||
reactivedata = callPackage ../development/ocaml-modules/reactivedata {};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user