69 lines
2.0 KiB
Plaintext
Generated
69 lines
2.0 KiB
Plaintext
Generated
opam-version: "2.0"
|
|
maintainer: [ "Eyyüb Sari <eyyub.sari@epitech.eu>"
|
|
"Romain Calascibetta <romain.calascibetta@gmail.com>" ]
|
|
authors: [ "Eyyüb Sari <eyyub.sari@epitech.eu>"
|
|
"Romain Calascibetta <romain.calascibetta@gmail.com>" ]
|
|
homepage: "https://github.com/mirage/digestif"
|
|
bug-reports: "https://github.com/mirage/digestif/issues"
|
|
dev-repo: "git+https://github.com/mirage/digestif.git"
|
|
doc: "https://mirage.github.io/digestif/"
|
|
license: "MIT"
|
|
synopsis: "Hashes implementations (SHA*, RIPEMD160, BLAKE2* and MD5)"
|
|
description: """
|
|
Digestif is a toolbox to provide hashes implementations in C and OCaml.
|
|
|
|
It uses the linking trick and user can decide at the end to use the C implementation or the OCaml implementation.
|
|
|
|
We provides implementation of:
|
|
* MD5
|
|
* SHA1
|
|
* SHA224
|
|
* SHA256
|
|
* SHA384
|
|
* SHA512
|
|
* SHA3
|
|
* Keccak-256
|
|
* WHIRLPOOL
|
|
* BLAKE2B
|
|
* BLAKE2S
|
|
* RIPEMD160
|
|
"""
|
|
|
|
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.08.0"}
|
|
"dune" {>= "2.6.0"}
|
|
"eqaf"
|
|
"fmt" {with-test & >= "0.8.7"}
|
|
"alcotest" {with-test}
|
|
"bos" {with-test}
|
|
"astring" {with-test}
|
|
"fpath" {with-test}
|
|
"rresult" {with-test}
|
|
"ocamlfind" {with-test}
|
|
"crowbar" {with-test}
|
|
]
|
|
|
|
conflicts: [
|
|
"mirage-xen" {< "6.0.0"}
|
|
"ocaml-freestanding"
|
|
]
|
|
x-maintenance-intent: [ "(latest)" ]
|
|
url {
|
|
src:
|
|
"https://github.com/mirage/digestif/releases/download/v1.3.0/digestif-1.3.0.tbz"
|
|
checksum: [
|
|
"sha256=9a6cdcb332539c87f4723fc3bd73626b2675a7b1161fdf0fed309186ce18f427"
|
|
"sha512=986d98eeb79f75ff69842a7ed4b93b4ff3795df7c09d455ca0c41408d67415a6743253a96c7e0de653dc62db95cb1fd29b1c654472fa11259cddde65dd5dd352"
|
|
]
|
|
}
|
|
x-commit-hash: "0763eb3b34ac8881925c4f50055f4bff3808aed4"
|