-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
35 lines (35 loc) · 1.24 KB
/
opam
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
opam-version: "2.0"
maintainer: "contact@tezos.com"
authors: ["Tezos devteam"]
homepage: "https://www.tezos.com/"
bug-reports: "https://gitlab.com/tezos/tezos/issues"
dev-repo: "git+https://gitlab.com/tezos/tezos.git"
license: "MIT"
depends: [
"dune" { >= "2.9" }
"ocaml" { >= "4.12" }
"lwt" { >= "5.4.0" }
"alcotest-lwt" { with-test & >= "1.5.0" }
"tezos-test-helpers" {with-test& = version}
]
patches: [ "tests_in-packages.patch" ]
build: [
["rm" "-r" "vendors"]
["dune" "build" "-p" name "-j" jobs]
["mv" "src/lib_lwt_result_stdlib/%{name}%.install" "./"]
["dune" "runtest" "-p" name "-j" jobs] {with-test}
]
synopsis: "Tezos: error-aware stdlib replacement"
url {
src: "https://gitlab.com/tezos/tezos/-/archive/v12.3/tezos-v12.3.tar.bz2"
checksum: [
"sha256=296bb5674bc6050afe6330326fbdd0dfc2255d414bfd6b79cc7666ac6b39316d"
"sha512=c061cd300a9410300851158d77bf8e56ca3c568b0b1161b38305e5b2efdcd9c746d391f832fdb2826f9a1d6babce10a9b764a4b04f5df42699f7314b9863123a"
]
}
extra-source "tests_in-packages.patch" {
src:
"https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/tezos-lwt-result-stdlib/tests_in-packages.patch"
checksum:
"sha256=3edeb38abfd2db7d83beac274d4f0c0b6bab148ce7da6c418145414d453ff4e5"
}