Skip to content

Commit 9decbb9

Browse files
committed
2 packages from darioteixeira/pgocaml at 4.4.0
1 parent 1451371 commit 9decbb9

File tree

2 files changed

+68
-0
lines changed
  • packages
    • pgocaml_ppx/pgocaml_ppx.4.4.0
    • pgocaml/pgocaml.4.4.0

2 files changed

+68
-0
lines changed
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
opam-version: "2.0"
2+
synopsis: "Native OCaml interface to PostgreSQL databases"
3+
description: """
4+
PGOCaml provides an interface to PostgreSQL databases for OCaml applications.
5+
Note that it speaks the PostgreSQL wire protocol directly, and therefore does
6+
not need to create bindings to the PostgreSQL libpq C library.
7+
The PPX syntax extension is now packaged separately as 'pgocaml_ppx'.
8+
You will want to take a look at it if you're considering using PGOCaml.
9+
"""
10+
maintainer: "[email protected]"
11+
authors: ["Richard W.M. Jones <[email protected]>"]
12+
homepage: "https://github.com/darioteixeira/pgocaml"
13+
bug-reports: "https://github.com/darioteixeira/pgocaml/issues"
14+
dev-repo: "git+https://github.com/darioteixeira/pgocaml.git"
15+
license: "LGPL-2.0-only with OCaml-LGPL-linking-exception"
16+
build: [["dune" "build" "-p" name "-j" jobs]]
17+
depends: [
18+
"calendar" {>= "2.0"}
19+
"camlp-streams"
20+
"csv"
21+
"dune" {>= "1.10"}
22+
"hex"
23+
"ocaml" {>= "4.07"}
24+
"ppx_sexp_conv"
25+
"re" {>= "1.5.0"}
26+
"ppx_deriving" {>= "4.2"}
27+
"rresult"
28+
"sexplib"
29+
]
30+
url {
31+
src:
32+
"https://github.com/darioteixeira/pgocaml/archive/refs/tags/v4.4.0.tar.gz"
33+
checksum: [
34+
"md5=efdcb7b660e45a67c1e261849a16e5e0"
35+
"sha512=0b200510ec6f7ab1f8fb4f98f9d792e6a2a7b446028926ee6d04b4b66130e580b4be4a018027c1e07e41fa78a569ed8a6c316638398d8c5b85d369aef12f77ef"
36+
]
37+
}
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
opam-version: "2.0"
2+
synopsis: "PPX extension for PGOCaml"
3+
description: """
4+
PGOCaml provides an interface to PostgreSQL databases for OCaml applications.
5+
This PPX syntax extension enables one to directly embed SQL statements inside
6+
the OCaml code. The extension uses the 'describe' feature of PostgreSQL to
7+
obtain type information about the database. This allows PGOCaml to check at
8+
compile-time if the program is indeed consistent with the database structure.
9+
"""
10+
maintainer: "[email protected]"
11+
authors: ["Richard W.M. Jones <[email protected]>"]
12+
homepage: "https://github.com/darioteixeira/pgocaml"
13+
bug-reports: "https://github.com/darioteixeira/pgocaml/issues"
14+
dev-repo: "git+https://github.com/darioteixeira/pgocaml.git"
15+
license: "LGPL-2.0-only with OCaml-LGPL-linking-exception"
16+
build: [["dune" "build" "-p" name "-j" jobs]]
17+
depends: [
18+
"dune" {>= "1.10"}
19+
"ocaml" {>= "4.07"}
20+
"pgocaml" {= version}
21+
"ppxlib" {>= "0.16.0"}
22+
"ppx_optcomp"
23+
]
24+
url {
25+
src:
26+
"https://github.com/darioteixeira/pgocaml/archive/refs/tags/v4.4.0.tar.gz"
27+
checksum: [
28+
"md5=efdcb7b660e45a67c1e261849a16e5e0"
29+
"sha512=0b200510ec6f7ab1f8fb4f98f9d792e6a2a7b446028926ee6d04b4b66130e580b4be4a018027c1e07e41fa78a569ed8a6c316638398d8c5b85d369aef12f77ef"
30+
]
31+
}

0 commit comments

Comments
 (0)