2019-09-28 20:39:31 +02:00
|
|
|
{ lib, fetchFromGitHub, buildDunePackage
|
2020-10-15 08:11:20 +02:00
|
|
|
, calendar, csv, hex, ppx_deriving, ppx_sexp_conv, re, rresult, sexplib
|
2019-08-03 16:05:30 +02:00
|
|
|
}:
|
2017-07-03 22:10:07 +02:00
|
|
|
|
2019-09-28 20:39:31 +02:00
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "pgocaml";
|
2021-03-23 20:43:19 +01:00
|
|
|
version = "4.2.2-dev-20210111";
|
2019-08-03 16:05:30 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "darioteixeira";
|
|
|
|
repo = "pgocaml";
|
2021-03-23 20:43:19 +01:00
|
|
|
rev = "1bb0025deeb3d14029afdcc69aaa7847026e243e";
|
|
|
|
sha256 = "11inbjf87gclc2xmpq56ag4cm4467y9q9hjgbdn69fa1bman2zn2";
|
2014-10-11 00:51:29 +02:00
|
|
|
};
|
|
|
|
|
2021-01-31 14:15:46 +01:00
|
|
|
minimumOCamlVersion = "4.08";
|
2020-10-15 08:11:20 +02:00
|
|
|
useDune2 = true;
|
2016-10-22 11:05:39 +02:00
|
|
|
|
2020-10-15 08:11:20 +02:00
|
|
|
propagatedBuildInputs = [ calendar csv hex ppx_deriving ppx_sexp_conv re rresult sexplib ];
|
2014-10-11 00:51:29 +02:00
|
|
|
|
2019-09-28 20:39:31 +02:00
|
|
|
meta = with lib; {
|
2014-10-11 00:51:29 +02:00
|
|
|
description = "An interface to PostgreSQL databases for OCaml applications";
|
2019-09-28 20:39:31 +02:00
|
|
|
inherit (src.meta) homepage;
|
2014-10-11 00:51:29 +02:00
|
|
|
license = licenses.lgpl2;
|
|
|
|
maintainers = with maintainers; [ vbgl ];
|
|
|
|
};
|
|
|
|
}
|