2024-01-13 08:15:51 +00:00
|
|
|
{ lib, fetchFromGitHub, buildDunePackage
|
2023-07-15 17:15:38 +00:00
|
|
|
, calendar, camlp-streams, csv, hex, ppx_deriving, ppx_sexp_conv, re, rresult, sexplib
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "pgocaml";
|
2024-01-13 08:15:51 +00:00
|
|
|
version = "4.4.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "darioteixeira";
|
|
|
|
repo = "pgocaml";
|
2024-01-13 08:15:51 +00:00
|
|
|
rev = "v${version}";
|
|
|
|
hash = "sha256-Mz3zVgXas1UivH/BVARx5kWClgr9v9YcGarwaD961tU=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2023-03-24 00:07:29 +00:00
|
|
|
minimalOCamlVersion = "4.08";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2024-01-13 08:15:51 +00:00
|
|
|
propagatedBuildInputs = [ calendar csv hex ppx_deriving ppx_sexp_conv re
|
|
|
|
rresult sexplib camlp-streams
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "An interface to PostgreSQL databases for OCaml applications";
|
2024-01-13 08:15:51 +00:00
|
|
|
homepage = "https://github.com/darioteixeira/pgocaml";
|
|
|
|
license = licenses.lgpl2Only;
|
2020-04-24 23:36:52 +00:00
|
|
|
maintainers = with maintainers; [ vbgl ];
|
|
|
|
};
|
|
|
|
}
|