-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathesy.json
131 lines (131 loc) · 4.53 KB
/
esy.json
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
{
"dependencies": {
"@opam/alcotest-lwt": "*",
"@opam/canary": "*",
"@opam/caqti": "2.0.1",
"@opam/caqti-driver-mariadb": "2.0.1",
"@opam/caqti-lwt": "2.0.1",
"@opam/conf-libssl": "4",
"@opam/conformist": "0.8.1",
"@opam/containers": "3.13.1",
"@opam/containers-data": "3.13.1",
"@opam/cstruct": "*",
"@opam/guardian": "*",
"@opam/logs": "0.7.0",
"@opam/lwt": "5.7.0",
"@opam/lwt_ppx": "2.1.0",
"@opam/lwt_ssl": "1.2.0",
"@opam/mariadb": "*",
"@opam/mirage-crypto": "*",
"@opam/mirage-crypto-rng": "*",
"@opam/mirage-crypto-rng-lwt": "*",
"@opam/mirage-crypto-pk": "*",
"@opam/ppx_deriving": "5.2.1",
"@opam/ppx_inline_test": "*",
"@opam/ppx_sexp_conv": "v0.16.0",
"@opam/ppx_string": "v0.16.0",
"@opam/ppx_variants_conv": "v0.16.0",
"@opam/ppx_yojson_conv": "v0.16.0",
"@opam/sihl": "*",
"@opam/sihl-email": "*",
"@opam/sihl-storage": "*",
"esy-cmake": "*",
"esy-mariadb": "*",
"esy-openssl": "*",
"ocaml": "4.14.0"
},
"devDependencies": {
"@opam/dune": "*",
"@opam/ocamlformat": "*",
"@opam/ocaml-lsp-server": "*"
},
"resolutions": {
"@opam/canary": "uzh/canary#a3e007ea39db54b546ff3ea892192cf49978b2b3",
"@opam/comformist": "oxidizing/conformist#aa7b95d1f39215cdaab8cf96d765d63e41d5f8a6",
"@opam/guardian": "uzh/guardian#87214e65f5e50f2ad9209ef9d407ec28a7004498",
"@opam/letters": "oxidizing/letters#c38446b15c9e68cab0f77814f6509cae9861efeb",
"@opam/sihl": "oxidizing/sihl:sihl.opam#d1250a2ff807dd1731f6ccd6250061215cdf73bf",
"@opam/sihl-email": "oxidizing/sihl:sihl-email.opam#d1250a2ff807dd1731f6ccd6250061215cdf73bf",
"@opam/sihl-storage": "oxidizing/sihl:sihl-storage.opam#d1250a2ff807dd1731f6ccd6250061215cdf73bf",
"esy-openssl": "esy-packages/esy-openssl#619ae2d46ca981ec26ab3287487ad98b157a01d1",
"esy-mariadb": {
"source": "https://github.com/mariadb-corporation/mariadb-connector-c/archive/refs/tags/v3.3.7.tar.gz#sha256:029b91473a42f822611e92e01b7af05c3ed8def7ab14665ffbb78947ccf0d6a5",
"override": {
"buildEnv": {
"CFLAGS": "-I#{esy-openssl.install / 'include'} $CFLAGS",
"LDFLAGS": "-L#{esy-openssl.lib} -lcrypto $LDFLAGS"
},
"build": [
"cmake . -DCMAKE_C_FLAGS=-Wno-deprecated-non-prototype",
"make"
],
"buildsInSource": true,
"exportedEnv": {
"PKG_CONFIG_PATH": {
"scope": "global",
"val": "#{self.lib / 'pkgconfig'}"
},
"LDFLAGS": {
"scope": "global",
"val": "-L#{self.lib}"
},
"CPPFLAGS": {
"scope": "global",
"val": "-I#{self.install / 'include'}"
},
"LD_LIBRARY_PATH": {
"scope": "global",
"val": "#{self.lib}:$LD_LIBRARY_PATH"
},
"LIBRARY_PATH": {
"scope": "global",
"val": "#{self.lib}:$LIBRARY_PATH"
},
"CPATH": {
"scope": "global",
"val": "#{self.install / 'include'}:$CPATH"
},
"PATH": {
"scope": "global",
"val": "#{self.bin}:$PATH"
}
},
"dependencies": {
"esy-openssl": "*",
"esy-cmake": "*"
}
}
},
"@opam/mariadb": {
"version": "opam:1.1.6",
"override": {
"buildEnv": {
"C_INCLUDE_PATH": "#{@opam/ctypes.root / 'src' / 'ctypes'}:#{@opam/integers.root / 'src'}:$C_INCLUDE_PATH",
"CFLAGS": "-I#{esy-mariadb.root / 'include'} $CFLAGS",
"LDFLAGS": "-L #{@opam/ctypes.lib} -L#{esy-mariadb.root / 'libmariadb'} $LDFLAGS",
"LIBRARY_PATH": "#{esy-mariadb.root / 'libmariadb'}:$LIBRARY_PATH",
"DYLD_LIBRARY_PATH": "#{@opam/ctypes.lib / 'stublibs'}:$DYLD_LIBRARY_PATH",
"CAML_LD_LIBRARY_PATH": "#{@opam/ctypes.lib / 'stublibs'}:$CAML_LD_LIBRARY_PATH"
},
"build": [
"./configure --enable-lwt --prefix=$cur__install",
"ocaml setup.ml -build -tag thread"
],
"install": "ocaml setup.ml -install",
"buildsInSource": "_build",
"dependencies": {
"esy-pkg-config": "*",
"@opam/stdlib-shims": "*",
"@opam/lwt": "5.7.0",
"@opam/ocamlbuild": "*",
"@opam/integers": "*",
"@opam/camlp-streams": "*",
"@opam/ctypes": "0.21.1",
"@opam/ctypes-foreign": "0.21.1",
"@opam/ocamlfind": "*",
"esy-mariadb": "*"
}
}
}
}
}