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 in C and OCaml. 12 13This library use the linking trick to choose between the C implementation (checkseum.c) or the OCaml implementation (checkseum.ocaml). 14This library is on top of optint to get the best representation of an int32. 15""" 16 17available: [ os != "freebsd" & arch != "s390x" ] 18build: [ 19 [ "dune" "build" "-p" name "-j" jobs ] 20 [ "patch" "-p1" "-i" "mirage.patch" ] 21] 22run-test: [ "dune" "runtest" "-p" name "-j" jobs ] 23 24depends: [ 25 "ocaml" {>= "4.07.0"} 26 "dune" {>= "1.9.2" & < "2.6"} 27 "optint" {>= "0.0.3" & < "0.0.5"} 28 "base-bytes" 29 "bigarray-compat" 30 "fmt" 31 "rresult" 32 "cmdliner" 33 "alcotest" {with-test} 34] 35 36depopts: [ 37 "ocaml-freestanding" 38 "mirage-xen-posix" 39] 40 41conflicts: [ 42 "mirage-xen-posix" {< "3.1.0"} 43 "ocaml-freestanding" {< "0.4.3"} 44] 45url { 46 src: 47 "https://github.com/mirage/checkseum/releases/download/v0.1.1/checkseum-v0.1.1.tbz" 48 checksum: [ 49 "sha256=a3913487f951c5bebc8e44cce41878ef3e2263c9c81a1ed963b0a86268c84229" 50 "sha512=f97c2e353c2bebdef2ed61cc6a32994fc9028c70e8c96b134ea92d178a29e2eda6c8bad1099b0a6d05971a69c94da2d5d476aeb4ddd9e802bb4bebe07f034579" 51 ] 52} 53extra-source "mirage.patch" { 54 src: 55 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/checkseum/mirage.patch" 56 checksum: [ 57 "sha256=abb9aeccd637e6511a1e7901894b850b145371faf6deea1ce0e893696fbb3485" 58 "md5=25ab5b099491242931c82f251f060123" 59 ] 60}