forked from ocaml/opam-repository
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CHANGES: - Fix `adler32` for OCaml implementation (integer overflow) (@dinosaure, mirage/checkseum#83)
- Loading branch information
Showing
1 changed file
with
54 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
opam-version: "2.0" | ||
maintainer: [ "Romain Calascibetta <[email protected]>" ] | ||
authors: [ "Romain Calascibetta <[email protected]>" ] | ||
homepage: "https://github.com/mirage/checkseum" | ||
bug-reports: "https://github.com/mirage/checkseum/issues" | ||
dev-repo: "git+https://github.com/mirage/checkseum.git" | ||
doc: "https://mirage.github.io/checkseum/" | ||
license: "MIT" | ||
synopsis: "Adler-32, CRC32 and CRC32-C implementation in C and OCaml" | ||
description: """ | ||
Checkseum is a library to provide implementation of Adler-32, CRC32 and CRC32-C | ||
in C and OCaml. | ||
|
||
This library use the linking trick to choose between the C implementation | ||
(checkseum.c) or the OCaml implementation (checkseum.ocaml). This library is on | ||
top of optint to get the best representation of an int32. """ | ||
|
||
build: [ | ||
[ "dune" "build" "-p" name "-j" jobs ] | ||
[ "dune" "runtest" "-p" name "-j" jobs ] {with-test} | ||
] | ||
|
||
install: [ | ||
[ "dune" "install" "-p" name ] {with-test} | ||
[ "ocaml" "./test/test_runes.ml" ] {with-test} | ||
] | ||
|
||
depends: [ | ||
"ocaml" {>= "4.07.0"} | ||
"dune" {>= "2.6.0"} | ||
"dune-configurator" | ||
"optint" {>= "0.3.0"} | ||
"alcotest" {with-test} | ||
"bos" {with-test} | ||
"astring" {with-test} | ||
"fmt" {with-test} | ||
"fpath" {with-test} | ||
"rresult" {with-test} | ||
"ocamlfind" {with-test} | ||
] | ||
|
||
conflicts: [ | ||
"mirage-xen" {< "6.0.0"} | ||
"ocaml-freestanding" | ||
] | ||
url { | ||
src: | ||
"https://github.com/mirage/checkseum/releases/download/v0.5.2/checkseum-0.5.2.tbz" | ||
checksum: [ | ||
"sha256=9e5e4fd4405cb4a8b4df00877543251833e08a6499ef42ccb8dba582df0dafc8" | ||
"sha512=b66261effaa561ce5cb8d92a3ec78565a5579bf3d3c4b7f08eba59998ac4d7f49ae9c240986c231b22b965c93a949a8a2e35edec42277ecb5602829945fba6db" | ||
] | ||
} | ||
x-commit-hash: "79867ddb97f347657ff2ec026da1d77ec7864db6" |