/
opam
44 lines (39 loc) · 1.58 KB
/
opam
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
opam-version: "2.0"
maintainer: [ "Romain Calascibetta <romain.calascibetta@gmail.com>" ]
authors: [ "Romain Calascibetta <romain.calascibetta@gmail.com>" ]
homepage: "https://github.com/dinosaure/checkseum"
bug-reports: "https://github.com/dinosaure/checkseum/issues"
dev-repo: "git+https://github.com/dinosaure/checkseum.git"
doc: "https://dinosaure.github.io/checkseum/"
license: "MIT"
build: [ "jbuilder" "build" "-p" name "-j" jobs ]
depends: [
"ocaml" {>= "4.03.0" & < "4.12"}
"jbuilder" {>= "1.0+beta7"}
"optint" {< "0.0.5"}
"base-bytes"
"base-bigarray"
"fmt"
"rresult"
"cmdliner"
]
available: arch = "x86_64"
synopsis: "Checkseum"
description: """
=========
Chekseum is a library which implements ADLER-32 and CRC32C Cyclic Redundancy
Check. It provides 2 implementation, the first in C and the second in OCaml. The
library is on top of [`optint`](https://github.com/dinosaure/optint.git) to get
the best representation of the CRC in the OCaml world.
Then, as [`digestif`](https://github.com/mirage/digestif.git), `checkseum` uses
the linking trick. So if you want to use `checkseum` in a library, you can link
with the `checkseum` package which **does not** provide an implementation. Then,
end-user can choose between the C implementation or the OCaml implementation
(both work on Mirage).
Of course, you can link directly to `checkseum.c` or `checkseum.ocaml` if you
want to make an executable directly."""
url {
src:
"https://github.com/dinosaure/checkseum/releases/download/v0.0.2/checkseum-0.0.2.tbz"
checksum: "md5=ed6cadd8080c6d485c2ffd44a74e3c59"
}