this repo has no description
1opam-version: "2.0"
2maintainer: "ygrek@autistici.org"
3authors: ["ygrek"]
4homepage: "https://ygrek.org/p/sqlgg/"
5dev-repo: "git+https://github.com/ygrek/sqlgg.git"
6bug-reports: "https://github.com/ygrek/sqlgg/issues"
7build: [
8 [
9 "ocaml"
10 "setup.ml"
11 "-configure"
12 "--enable-tests"
13 "--%{mysql:enable}%-mysql"
14 "--%{sqlite3:enable}%-sqlite3"
15 "--prefix"
16 prefix
17 ]
18 ["ocaml" "setup.ml" "-build"]
19 ["ocaml" "setup.ml" "-test"] {with-test}
20]
21install: [
22 ["ocaml" "setup.ml" "-install"]
23]
24remove: [
25 ["ocamlfind" "remove" "sqlgg"]
26 ["rm" "-f" "%{bin}%/sqlgg" "%{bin}%/sqlgg.exe"]
27]
28depends: [
29 "ocaml" {>= "4.02.0" & < "5.0.0"}
30 "ocamlfind" {build}
31 "ocamlbuild" {build}
32 "mybuild" {build & < "7"}
33 "menhir" {< "20211215"}
34 "ppx_deriving"
35 ("extlib" | "extlib-compat")
36 "base-unix"
37 "ounit"
38]
39depopts: [
40 "mysql"
41 "sqlite3"
42]
43conflicts: [
44 "sqlite3" {>= "5.0.0"}
45]
46synopsis: "SQL Guided (code) Generator"
47description: """
48sqlgg is an SQL query parser and binding code generator for C#, C++, Java, OCaml.
49It starts off with SQL schema and queries, and generates code (or XML, allowing
50further code generation for various purposes). Generated code only defines a mapping
51of output columns and query parameters to the host language, trying to be as unobtrusive
52as possible and leaving the choice of SQL database (and API to access it) to the developer."""
53flags: light-uninstall
54url {
55 src: "https://ygrek.org/p/release/sqlgg/sqlgg-0.4.4.tar.gz"
56 checksum: [
57 "sha256=6894e84ffa367a1ad6b28f4ef92488820e5dddd5b5df81bf6725d75881c8b01f"
58 "md5=511954fbd402479ab652c824504942c6"
59 ]
60 mirrors:
61 "https://github.com/ygrek/sqlgg/releases/download/0.4.4/sqlgg-0.4.4.tar.gz"
62}