blob: 97ae2ff1d30a3ccdc4da3a5f1dc4ae4e256c9485 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
{
alcotest,
buildDunePackage,
camlp-streams,
fetchurl,
hex,
ipaddr,
lib,
ppx_compare,
ppx_custom_printf,
ppx_sexp_conv,
re,
uuidm,
}:
buildDunePackage (finalAttrs: {
pname = "pgx";
version = "2.3";
minimalOCamlVersion = "4.08";
src = fetchurl {
url = "https://github.com/pgx-ocaml/pgx/archive/refs/tags/${finalAttrs.version}.tar.gz";
hash = "sha256-Rp9PXsWI4cBc1YHD7uqKATrRt5tgNJowbaAFg1aeVKM=";
};
propagatedBuildInputs = [
camlp-streams
hex
ipaddr
ppx_compare
ppx_custom_printf
ppx_sexp_conv
re
uuidm
];
checkInputs = [ alcotest ];
doCheck = true;
meta = {
description = "Pure-OCaml PostgreSQL client library";
homepage = "https://github.com/pgx-ocaml/pgx";
license = lib.licenses.lgpl2Only;
maintainers = [ lib.maintainers.vog ];
};
})
|