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 "conf-pkg-config" {build}
33 "dune-configurator"
34 "optint" {>= "0.0.5"}
35 "base-bytes"
36 "bigarray-compat"
37 "alcotest" {with-test}
38 "bos" {with-test}
39 "astring" {with-test}
40 "fmt" {with-test}
41 "fpath" {with-test}
42 "rresult" {with-test}
43 "ocamlfind" {with-test}
44]
45
46depopts: [
47 "ocaml-freestanding"
48]
49
50conflicts: [
51 "mirage-xen" {< "6.0.0"}
52 "ocaml-freestanding" {< "0.4.3"}
53]
54x-commit-hash: "7812edd6c6472975958ed563b6a4d5c0d8ed5835"
55url {
56 src:
57 "https://github.com/mirage/checkseum/releases/download/v0.3.1/checkseum-v0.3.1.tbz"
58 checksum: [
59 "sha256=b9e4d054e17618b1faed8c0eb15afe0614b2f093e58b59a180bda4500a5d2da1"
60 "sha512=356e07b7e33231a30699a166f94b2f29f2d8c35d8ab878f46d4718b4186365329947364beece76f24e2c9028b85567a2b905e777576c28f02fc81ee7962f3309"
61 ]
62}
63available: [ arch != "s390x" ]