Skip to content

Commit 93bb2e6

Browse files
authored
Merge pull request ocaml#23817 from vapourismo/tezos-rust-libs-1.6
Package tezos-rust-libs 1.6
2 parents e10b6ec + 400144c commit 93bb2e6

File tree

1 file changed

+57
-0
lines changed
  • packages/tezos-rust-libs/tezos-rust-libs.1.6

1 file changed

+57
-0
lines changed
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
opam-version: "2.0"
2+
maintainer: "[email protected]"
3+
authors: [ "Tezos devteam" ]
4+
homepage: "https://www.tezos.com/"
5+
bug-reports: "https://gitlab.com/tezos/tezos-rust-libs/issues"
6+
dev-repo: "git+https://gitlab.com/tezos/tezos-rust-libs.git"
7+
license: "LicenseRef-multiple"
8+
depends: ["conf-rust-2021"]
9+
build:[
10+
[
11+
"cargo"
12+
"build"
13+
"--target-dir" "target-librustzcash"
14+
"--release"
15+
"--package" "librustzcash"
16+
]
17+
[
18+
"cargo"
19+
"build"
20+
"--target-dir" "target-wasmer"
21+
"--release"
22+
"--package" "wasmer-c-api"
23+
"--no-default-features"
24+
"--features" "singlepass,cranelift,wat,middlewares"
25+
]
26+
]
27+
install: [
28+
[ "mkdir" "-p" "%{lib}%/tezos-rust-libs" ]
29+
[ "mkdir" "-p" "%{lib}%/tezos-rust-libs/rust" ]
30+
[ "cp"
31+
"librustzcash/include/librustzcash.h"
32+
"target-librustzcash/release/librustzcash.a"
33+
"wasmer-3.3.0/lib/c-api/wasm.h"
34+
"wasmer-3.3.0/lib/c-api/wasmer.h"
35+
"target-wasmer/release/libwasmer.a"
36+
"%{lib}%/tezos-rust-libs"
37+
]
38+
[ "cp"
39+
"librustzcash/include/rust/types.h"
40+
"%{lib}%/tezos-rust-libs/rust"
41+
]
42+
]
43+
synopsis: "Tezos: all rust dependencies and their dependencies"
44+
url {
45+
src:
46+
"https://gitlab.com/tezos/tezos-rust-libs/-/archive/v1.6/tezos-rust-libs-v1.6.zip"
47+
checksum: [
48+
"sha512=ac4df82e4ff65e1f65a808fbe1494519e175c7b2ed22dc8336c4458996075088d5d41d223ade9c48e285f41929d5048c0af2a484e0c543e75d8ee133829564b5"
49+
"sha256=7ca33dc3bf873fc5768ca5670f6abe43b8f9badde43a956c3f61f3dd979bec34"
50+
]
51+
}
52+
x-ci-accept-failures: [
53+
"oraclelinux-8" # rust version is too old (need 1.62+)
54+
"alpine-3.14" # rust version is too old (need 1.62+)
55+
"alpine-3.15" # rust version is too old (need 1.62+)
56+
"alpine-3.16" # rust version is too old (need 1.62+)
57+
]

0 commit comments

Comments
 (0)