-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
48 lines (48 loc) · 1.7 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
36
37
38
39
40
41
42
43
44
45
46
47
48
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" { >= "3.0" }
"tezos-stdlib" { = version }
"data-encoding" { >= "0.6" & < "0.7" }
"tezos-lwt-result-stdlib" { = version }
"lwt" { >= "5.4.0" }
"tezos-hacl" { = version }
"secp256k1-internal" { >= "0.3.0" }
"tezos-error-monad" { = version }
"tezos-rpc" { = version }
"ringo" { >= "0.9" & < "1.0.0" }
"zarith" { >= "1.12" & < "1.13" }
"zarith_stubs_js"
"bls12-381" { >= "4.0.0" & < "4.1.0" }
"alcotest" { with-test & >= "1.5.0" }
"qcheck-alcotest" { with-test & >= "0.18" }
"tezos-test-helpers" { with-test & = version }
"alcotest-lwt" { with-test & >= "1.5.0" }
"tezos-bls12-381-polynomial" { = "0.1.2" & < "1.0.0" }
]
patches: ["crypto_for_ocaml12.diff"]
build: [
["rm" "-r" "vendors"]
["dune" "build" "-p" name "-j" jobs]
["dune" "runtest" "-p" name "-j" jobs] {with-test}
]
synopsis: "Tezos: library with all the cryptographic primitives used by Tezos"
available: false
url {
src: "https://gitlab.com/tezos/tezos/-/archive/v14.0/tezos-v14.0.tar.bz2"
checksum: [
"sha256=d21d1ab230dc396854755c1c8ff9d6ba046351b53add128d42b598711b9348b1"
"sha512=873c49894b6e84f70f0312a5c91ac078847084c7e010424eb4cb96b0d467d3c814aa3cbc207cee8ee0e226f8450cb9e76c521d12b7fa1ffc6d097087946f48cd"
]
}
extra-source "crypto_for_ocaml12.diff" {
src:
"https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/tezos-crypto/crypto_for_ocaml12.diff"
checksum:
"sha256=f8af55657c5c478b47cd4e13dd352a8367f189cca3419a783b1b00f638272681"
}