-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
35 lines (32 loc) · 1.21 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: [ "romain.calascibetta@gmail.com" ]
authors: "Romain Calascibetta"
license: "ISC"
homepage: "https://github.com/mirage/optint"
bug-reports: "https://github.com/mirage/optint/issues"
dev-repo: "git+https://github.com/mirage/optint.git"
doc: "https://mirage.github.io/optint/"
synopsis: "Abstract type on integer between x64 and x86 architecture"
description: """
This library provide an abstract type which represents at least a 32-bits integer.
On x64, this library use a native unboxed integer (63 bits).
On x86, this library use a boxed int32.
Implementation depends on target architecture.
"""
build: ["dune" "build" "-p" name "-j" jobs]
run-test: [ "dune" "runtest" "-p" name "-j" jobs ]
depends: [
"ocaml" {>= "4.07.0"}
"dune"
"crowbar" {with-test & >= "0.2"}
"fmt" {with-test}
]
available: arch != "arm32" & arch != "x86_32"
url {
src:
"https://github.com/mirage/optint/releases/download/v0.0.3/optint-v0.0.3.tbz"
checksum: [
"sha256=9279d910f0b49eef4e6c7201a2e6189a4866b12d42ce677b9c3d51458d1ef930"
"sha512=c696a4cee26666a1868a6d0ea5b441d6292468fd51c233b3d2036ee6df7a0cba9200747ba7287b8181ca29afce80433c2919fe84f5d7c9debcd5ce8c192e4ac4"
]
}