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 [ "./install/install.ml" ]
21 [ "dune" "runtest" "-p" name "-j" jobs ] {with-test}
22]
23
24install: [
25 [ "dune" "install" "-p" name ] {with-test}
26 [ "./test/test_runes.ml" ] {with-test}
27]
28
29depends: [
30 "ocaml" {>= "4.07.0"}
31 "dune" {>= "2.6.0"}
32 "dune-configurator"
33 "optint" {>= "0.0.3" & < "0.0.5"}
34 "base-bytes"
35 "bigarray-compat"
36 "alcotest" {with-test}
37 "bos" {with-test}
38 "astring" {with-test}
39 "fmt" {with-test}
40 "fpath" {with-test}
41 "rresult" {with-test}
42 "ocamlfind" {build & with-test}
43]
44
45depopts: [
46 "ocaml-freestanding"
47 "mirage-xen-posix"
48]
49
50conflicts: [
51 "mirage-xen-posix" {< "3.1.0"}
52 "ocaml-freestanding" {< "0.4.3"}
53]
54url {
55 src:
56 "https://github.com/mirage/checkseum/releases/download/v0.2.1/checkseum-v0.2.1.tbz"
57 checksum: [
58 "sha256=c50eb8e499d870cea25471ced126e718a5d1cc8b34a99960239a5d6218218beb"
59 "sha512=45e625ab37b93cd7888e3b633bc76e2db61be4cc51659115d128d59c6ebd03ce8fbeefdfabc799d5a257fdb8404a5b3b03c7ca4c5c5e45877fc6d35c758e350d"
60 ]
61}
62available: [ arch != "s390x" ]