this repo has no description
1opam-version: "2.0"
2license: "LGPL-2.0-only WITH OCaml-LGPL-linking-exception"
3maintainer: "Kate <kit.ty.kate@disroot.org>"
4authors: [
5 "Gabriel Scherer <gasche.dylc@gmail.com>"
6 "Kate <kit.ty.kate@disroot.org>"
7]
8homepage: "https://github.com/ocsigen/macaque"
9dev-repo: "git+https://github.com/ocsigen/macaque.git"
10bug-reports: "https://github.com/ocsigen/macaque/issues"
11patches: [
12 "fix-configure.patch"
13]
14build: [
15 ["./configure" "--prefix" prefix]
16 [make]
17]
18install: [
19 [make "install"]
20]
21remove: [
22 ["ocamlfind" "remove" "macaque"]
23]
24depends: [
25 "ocaml"
26 "ocamlfind" {build}
27 "pgocaml" {>= "2.2" & < "4.4.0"}
28 "camlp4"
29 "ocamlbuild" {build}
30]
31tags: [
32 "SQL"
33 "Postgres"
34 "PostgreSQL"
35 "safe"
36 "typed"
37 "database"
38 "DB"
39]
40synopsis:
41 "Macaque (Macros for Caml Queries) is a DSL for OCaml, wich produce SQL requests from a comprehension syntax. Macaque can build queries by from simpler components, using phantom types used to ensure safety."
42flags: light-uninstall
43url {
44 src: "https://github.com/ocsigen/macaque/archive/0.7.2.tar.gz"
45 checksum: [
46 "sha256=8b20335419cb640f9c86eced851a7349351b0825a955043465a41de1d72ec715"
47 "md5=dd34af1893b0aaa265edaef53529a5de"
48 ]
49}
50extra-source "fix-configure.patch" {
51 src:
52 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/macaque/fix-configure.patch"
53 checksum: [
54 "sha256=53b8753bd79d450b523b315dceaa3ff1fb8dd007c4dae5b83f2a7acade4ec85d"
55 "md5=7a1e3bda46fc798eefc2db6f852f2650"
56 ]
57}