2020-04-24 23:36:52 +00:00
|
|
|
{ lib, fetchFromGitHub, buildDunePackage
|
2020-10-27 00:29:36 +00:00
|
|
|
, calendar, csv, hex, ppx_deriving, ppx_sexp_conv, re, rresult, sexplib
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "pgocaml";
|
2023-03-24 00:07:29 +00:00
|
|
|
version = "4.3.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "darioteixeira";
|
|
|
|
repo = "pgocaml";
|
2023-03-24 00:07:29 +00:00
|
|
|
rev = version;
|
|
|
|
hash = "sha256-W1fbRnU1l61qqxfVY2qiBnVpGD81xrBO8k0tWr+RXMY=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2023-03-24 00:07:29 +00:00
|
|
|
minimalOCamlVersion = "4.08";
|
|
|
|
duneVersion = "3";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-10-27 00:29:36 +00:00
|
|
|
propagatedBuildInputs = [ calendar csv hex ppx_deriving ppx_sexp_conv re rresult sexplib ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "An interface to PostgreSQL databases for OCaml applications";
|
|
|
|
inherit (src.meta) homepage;
|
|
|
|
license = licenses.lgpl2;
|
|
|
|
maintainers = with maintainers; [ vbgl ];
|
|
|
|
};
|
|
|
|
}
|