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:bin}%/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:bin}%/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.3/checkseum-0.3.3.tbz"
55 checksum: [
56 "sha256=c2ac7f7332dc86bdaf67ff78e7fd6bc4016f5fa556b083516db9d0c40eae8811"
57 "sha512=b931d201df1953f9fce5c64cf11af62690d25ad791cfcf7d1cde39f86f8b80c19c90e99fa389f4deca35d85518abdd0e4b9235e199d87d96f49975e498356f41"
58 ]
59}
60x-commit-hash: "331397e2ae70662238606dfee446bfef84c652c8"