Repository navigation
Expand file tree
/
Copy pathsqlgg.opam
More file actions
57 lines (56 loc) · 1.79 KB
/
Copy pathsqlgg.opam
File metadata and controls
57 lines (56 loc) · 1.79 KB
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
46
47
48
49
50
51
52
53
54
55
56
57
opam-version: "2.0"
maintainer: "ygrek@autistici.org"
authors: ["ygrek"]
homepage: "https://ygrek.org/p/sqlgg/"
dev-repo: "git+https://github.com/ygrek/sqlgg.git"
bug-reports: "https://github.com/ygrek/sqlgg/issues"
license: "GPL-2.0-only"
tags: [ "org:ygrek" ]
build: [
["dune" "subst"] {dev}
["dune" "build" "-p" name "-j" jobs "@install" "@doc" {with-doc}]
]
depends: [
"ocaml" {>= "4.14.0"}
"yojson" {>= "1.6.0"}
"dune" {>= "3.16"}
"dune-build-info"
"integers" {>= "0.4.0"}
"menhir" {>= "20180523"}
"ppx_deriving" {>= "4.3"}
"ppx_deriving_hash" {>= "0.1.3"}
"ppx_enumerate" {>= "v0.15.0"}
"ppx_deriving_variant_string" {>= "1.0.1"}
"ppxlib" {>= "0.38.0"}
"jsonkit" {>= "1.1.0"}
("extlib" {>= "1.7.8"} | "extlib-compat" {>= "1.7.8"})
"base-unix"
"cmdliner" {>= "1.1.0"}
"odoc" {with-doc}
"ounit"
"qcheck-core" {with-test & >= "0.25"}
]
# Remove this pin after https://github.com/melange-community/jsonkit/pull/117 is released.
pin-depends: [
[
"jsonkit.dev"
"git+https://github.com/melange-community/jsonkit.git#acdd92a27d321ee60e5b21b73717e6f947b89ed2"
]
]
depopts: [
"mariadb"
"mysql"
"sqlite3"
]
synopsis: "SQL Guided (code) Generator"
description: """
sqlgg is an SQL query parser and binding code generator for C#, C++, Java, OCaml.
It starts off with SQL schema and queries, and generates code (or XML, allowing
further code generation for various purposes). Generated code only defines a mapping
of output columns and query parameters to the host language, trying to be as unobtrusive
as possible and leaving the choice of SQL database (and API to access it) to the developer.
For OCaml it also provides schema migrations: generation from a schema file,
a state table, a runner and a command line to mount in the application."""
conflicts: [
"mariadb" {< "2.1.0"}
]