···
2
+
maintainer: [ "Romain Calascibetta <romain.calascibetta@gmail.com>" ]
3
+
authors: [ "Romain Calascibetta <romain.calascibetta@gmail.com>" ]
4
+
homepage: "https://github.com/mirage/checkseum"
5
+
bug-reports: "https://github.com/mirage/checkseum/issues"
6
+
dev-repo: "git+https://github.com/mirage/checkseum.git"
7
+
doc: "https://mirage.github.io/checkseum/"
9
+
synopsis: "Adler-32, CRC32 and CRC32-C implementation in C and OCaml"
11
+
Checkseum is a library to provide implementation of Adler-32, CRC32 and CRC32-C
14
+
This library use the linking trick to choose between the C implementation
15
+
(checkseum.c) or the OCaml implementation (checkseum.ocaml). This library is on
16
+
top of optint to get the best representation of an int32. """
19
+
[ "dune" "build" "-p" name "-j" jobs ]
20
+
[ "%{ocaml:bin}%/ocaml" "./install/install.ml" ]
21
+
[ "dune" "runtest" "-p" name "-j" jobs ] {with-test}
25
+
[ "dune" "install" "-p" name ] {with-test}
26
+
[ "%{ocaml:bin}%/ocaml" "./test/test_runes.ml" ] {with-test}
30
+
"ocaml" {>= "4.07.0"}
32
+
"conf-pkg-config" {build}
34
+
"optint" {>= "0.2.0"}
35
+
"alcotest" {with-test}
37
+
"astring" {with-test}
40
+
"rresult" {with-test}
41
+
"ocamlfind" {with-test}
45
+
"ocaml-freestanding"
49
+
"mirage-xen" {< "6.0.0"}
50
+
"ocaml-freestanding" {< "0.4.3"}
54
+
"https://github.com/mirage/checkseum/releases/download/v0.3.3/checkseum-0.3.3.tbz"
56
+
"sha256=c2ac7f7332dc86bdaf67ff78e7fd6bc4016f5fa556b083516db9d0c40eae8811"
57
+
"sha512=b931d201df1953f9fce5c64cf11af62690d25ad791cfcf7d1cde39f86f8b80c19c90e99fa389f4deca35d85518abdd0e4b9235e199d87d96f49975e498356f41"
60
+
x-commit-hash: "331397e2ae70662238606dfee446bfef84c652c8"