410b979fe2
GitOrigin-RevId: a64e169e396460d6b5763a1de1dd197df8421688
26 lines
717 B
Nix
26 lines
717 B
Nix
{ lib, fetchFromGitHub, buildDunePackage
|
|
, calendar, csv, hex, ppx_deriving, ppx_sexp_conv, re, rresult, sexplib
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "pgocaml";
|
|
version = "4.3.0";
|
|
src = fetchFromGitHub {
|
|
owner = "darioteixeira";
|
|
repo = "pgocaml";
|
|
rev = version;
|
|
hash = "sha256-W1fbRnU1l61qqxfVY2qiBnVpGD81xrBO8k0tWr+RXMY=";
|
|
};
|
|
|
|
minimalOCamlVersion = "4.08";
|
|
duneVersion = "3";
|
|
|
|
propagatedBuildInputs = [ calendar csv hex ppx_deriving ppx_sexp_conv re rresult sexplib ];
|
|
|
|
meta = with lib; {
|
|
description = "An interface to PostgreSQL databases for OCaml applications";
|
|
inherit (src.meta) homepage;
|
|
license = licenses.lgpl2;
|
|
maintainers = with maintainers; [ vbgl ];
|
|
};
|
|
}
|