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 [ "ocaml" "./install/install.ml" ]
21 [ "dune" "runtest" "-p" name "-j" jobs ] {with-test}
22]
23
24install: [
25 [ "dune" "install" "-p" name ] {with-test}
26 [ "ocaml" "./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.2.0"}
35 "alcotest" {with-test}
36 "bos" {with-test}
37 "astring" {with-test}
38 "fmt" {with-test}
39 "fpath" {with-test}
40 "rresult" {with-test}
41 "ocamlfind" {with-test}
42]
43
44depopts: [
45 "ocaml-freestanding"
46]
47
48conflicts: [
49 "mirage-xen" {< "6.0.0"}
50 "ocaml-freestanding" {< "0.4.3"}
51]
52url {
53 src:
54 "https://github.com/mirage/checkseum/releases/download/v0.3.4/checkseum-0.3.4.tbz"
55 checksum: [
56 "sha256=04be013b0c57391ae438e6dae108d149eb66f1b17d26694a1d214fab6e3ed738"
57 "sha512=b7b587475964ce4f7bbb603454ceec7b1616ed8f46aeb66fe4e3f9928d839732880ff38b76b6942ab9c0c3dc96297edf3ab07dccee4f83da93bde62bcf7fb2e4"
58 ]
59}
60x-commit-hash: "ccf3427bad1003f8abf32b8d858221a55b5b2989"