this repo has no description
1opam-version: "2.0"
2
3authors: ["rajdakin"]
4maintainer: ["engineering@wasmer.io"]
5license: "MIT"
6homepage: "https://github.com/wasmerio/wasmer-ocaml"
7bug-reports: "https://github.com/wasmerio/wasmer-ocaml/issues"
8dev-repo: "git+https://github.com/wasmerio/wasmer-ocaml.git"
9tags: ["org:wasmer"]
10
11url {
12 src: "https://github.com/wasmerio/wasmer-ocaml/archive/refs/tags/v1.2.1+dunefix.tar.gz"
13 checksum: [
14 "md5=be37208390097ed6b7c7d9ede3c1a2a7"
15 "sha512=2422c3b32ae053a9f39336b1c9829ec9a508dd7d303e9a68853287ab7dea90b7cbc57f54a04b20a9fb6217527e1c89e8f806349407db5f8679d90fdf7dd3038e"
16 ]
17}
18
19synopsis: "OCaml bindings for Wasmer"
20description: "The official Wasmer bindings for OCaml"
21
22depends: [
23 "ocaml" {>= "4.14.1"}
24 "dune" {>= "2.0"}
25 "ctypes"
26 "ctypes-foreign"
27 "libwasmer"
28]
29build: [
30 ["mv" "lib-dune" "lib/dune"]
31 ["sed" "-i" ".orig" "s` \"-cclib\" \"-Wl,--no-as-needed\"``" "lib/dune"] {os = "macos"}
32 ["sed" "-i" ".orig" "s` \"-cclib\" \"-Wl,--as-needed\"``" "lib/dune"] {os = "macos"}
33 ["dune" "subst"] {dev}
34 ["dune" "build" "-p" name "-j" jobs]
35 ["dune" "runtest" "-p" name "-j" jobs] {with-test}
36]
37extra-source "lib-dune" {
38 src:
39 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/wasmer/lib-dune"
40 checksum: [
41 "sha256=78fb51570194310f4aada63ad6eca3a8366d5b5c24a4aa5438fe9eea176068be"
42 "md5=bd12116b297193258c07c76240c01873"
43 ]
44}