···
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" "./install/install.ml" ]
21
+
[ "dune" "runtest" "-p" name "-j" jobs ] {with-test}
25
+
[ "dune" "install" "-p" name ] {with-test}
26
+
[ "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.4.0/checkseum-0.4.0.tbz"
56
+
"sha256=2ba40f32db39fa1c47d9af96435374970301a2c846d93d1b4a8ccd83346f025a"
57
+
"sha512=3edee66d3fa8fb0e11cf05d24f925341c96c53864cb4fb5b6173e29038882d33e3ee82819a3a2bedde717a3658c866278d09196862735d2ac9da889badd26e7b"
60
+
x-commit-hash: "a09c7397401e5f7dee4ea58a2af521f47d84c0ee"