this repo has no description
1opam-version: "2.0"
2
3authors: ["wasmer"]
4maintainer: ["engineering@wasmer.io"]
5license: "MIT"
6homepage: "https://wasmer.io/"
7
8doc: "https://docs.wasmer.io/"
9bug-reports: "https://github.com/wasmerio/wasmer-ocaml/issues"
10dev-repo: "git+https://github.com/wasmerio/wasmer-ocaml.git"
11tags: ["org:wasmer"]
12
13synopsis: "The official Wasmer library"
14description: """
15This package is used by the wasmer package to trigger the installation
16of the Wasmer library.
17
18If the build fails because of a Rust version problem, install the Rust
19toolchain manually (libwasmer requires Rust version 1.59+, see
20https://rustup.rs/ )."""
21
22depends: [
23 "conf-rust-2021"
24]
25
26url {
27 src: "https://github.com/wasmerio/wasmer/archive/refs/tags/3.0.0-beta.tar.gz"
28 checksum: [
29 "md5=0741bb953e47349954b731c4da1386d4"
30 "sha512=38ec15c601c67468bca255a5a757afaedd6e1924662e3d108e63380a06f26e9f73f1aa0ef0700547885b52205a7d3f84c25bf266704b292b84585103c8369212"
31 ]
32}
33extra-source "vendor.tar.gz" {
34 src:
35 "https://github.com/wasmerio/wasmer-ocaml/releases/download/v1.2.1%2Bdunefix/libwasmer-vendor.tar.gz"
36 checksum:
37 "sha256=35e634a15754e20cfe8884b52e617a633438f255e75afe43f1d6179a3666a742"
38}
39build: [
40 ["mkdir" ".cargo"]
41 ["mv" "config.toml" ".cargo"]
42 ["sh" "-c" "gunzip vendor.tar.gz && tar xf vendor.tar"]
43 [make "build-capi"]
44 [make "package-capi"]
45 ["cp" "package/lib/libwasmer.dylib" "package/lib/libwasmer.so"] {os = "macos"}
46]
47extra-source "libwasmer.install" {
48 src:
49 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/libwasmer/libwasmer.install"
50 checksum: [
51 "sha256=2b3a0e3ea2e13ca121e57a785925195cf54a122ac4a2f6f651f414dbdf4f90aa"
52 "md5=13bb8b8ce7e8d2af1daa7f4ea1e4924b"
53 ]
54}
55extra-source "config.toml" {
56 src:
57 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/libwasmer/config.toml"
58 checksum: [
59 "sha256=77e9219c27274120197571fd165cbe4121963b5ad3bc0b20b383c86ef0ce6c2b"
60 "md5=d4c7febd30951f7fbd584476dbb2dd70"
61 ]
62}