-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
43 lines (43 loc) · 1.47 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
opam-version: "2.0"
authors: "Xavier Leroy"
maintainer: "mirageos-devel"
homepage: "https://forge.ocamlcore.org/projects/zarith"
install: ["sh" "-eux" "./mirage-install.sh"]
remove: ["sh" "-eux" "./mirage-uninstall.sh"]
depends: [
"ocaml"
"mirage-xen-posix"
"gmp-xen" {> "6.0.0"}
"zarith" {= "1.7"}
"ocamlfind" {build}
]
synopsis:
"Implements arithmetic and logical operations over arbitrary-precision integers"
description: """
The Zarith library implements arithmetic and logical operations over
arbitrary-precision integers. It uses GMP to efficiently implement
arithmetic over big integers. Small integers are represented as Caml
unboxed integers, for speed and space economy."""
url {
src: "https://github.com/ocaml/Zarith/archive/release-1.7.tar.gz"
checksum: [
"sha256=d641bb66d04461111b75f2fc37ad1eec764dcf326d98a51ac078695baea2ab3a"
"md5=80944e2755ebb848451a77dc2ad0651b"
]
}
extra-source "mirage-uninstall.sh" {
src:
"https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/zarith-xen/mirage-uninstall.sh"
checksum: [
"sha256=e5ea4b8731e4cefa8514e00eeee5290062852f229d713c78be6941e8d59c0f36"
"md5=ef2f117c09b2af4341b642ed29fb2387"
]
}
extra-source "mirage-install.sh" {
src:
"https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/zarith-xen/mirage-install.sh.1.7"
checksum: [
"sha256=404c2392484ce8b72776ad18f45bdb39b47d0960a5a2f9c88ea7f727a4d6e48b"
"md5=fdda6c79ecac23b0c31852900674d7c6"
]
}