this repo has no description
1opam-version: "2.0"
2maintainer: [ "Romain Calascibetta <romain.calascibetta@gmail.com>" ]
3authors: [ "Romain Calascibetta <romain.calascibetta@gmail.com>" ]
4homepage: "https://github.com/mirage/checkseum"
5bug-reports: "https://github.com/mirage/checkseum/issues"
6dev-repo: "git+https://github.com/mirage/checkseum.git"
7doc: "https://mirage.github.io/checkseum/"
8license: "MIT"
9synopsis: "Adler-32, CRC32 and CRC32-C implementation in C and OCaml"
10description: """
11Checkseum is a library to provide implementation of Adler-32, CRC32 and CRC32-C
12in C and OCaml.
13
14This library use the linking trick to choose between the C implementation
15(checkseum.c) or the OCaml implementation (checkseum.ocaml). This library is on
16top of optint to get the best representation of an int32. """
17
18build: [
19 [ "dune" "build" "-p" name "-j" jobs ]
20 [ "sh" "-exc" "echo \"xen_linkopts = \\\"-l:laolao/xen/liblaolao_xen_stubs.a\\\"\" >> _build/default/META.checkseum"]
21 [ "sh" "-exc" "echo \"freestanding_linkopts = \\\"-l:laolao/freestanding/liblaolao_freestanding_stubs.a\\\"\" >> _build/default/META.checkseum"]
22 [ "dune" "runtest" "-p" name "-j" jobs ] {with-test}
23]
24
25depends: [
26 "ocaml" {>= "4.07.0"}
27 "dune" {>= "2.0.0" & < "2.6"}
28 "dune-configurator"
29 "optint" {>= "0.0.4" & < "0.0.5"}
30 "base-bytes"
31 "bigarray-compat"
32 "alcotest" {with-test}
33 "bos" {with-test}
34 "astring" {with-test}
35 "fmt" {with-test}
36 "fpath" {with-test}
37 "rresult" {with-test}
38 "ocamlfind" {with-test}
39]
40
41depopts: [
42 "ocaml-freestanding"
43 "mirage-xen-posix"
44]
45
46conflicts: [
47 "mirage-xen-posix" {< "3.1.0"}
48 "ocaml-freestanding" {< "0.4.3"}
49]
50url {
51 src:
52 "https://github.com/mirage/checkseum/releases/download/v0.2.0/checkseum-v0.2.0.tbz"
53 checksum: [
54 "sha256=6b9369913ed8de0f3de2b946abd439ab0efa3693ebdf6573c0392f2d12b8da70"
55 "sha512=63e3bdb03996551d127a7233590d7f36783e18659bbdf455ac0d6ed55798374122661e1da25b45ea0f5468d3876f617b1aac0699858f04f94137579726d5d323"
56 ]
57}
58available: [ arch != "s390x" ]