/
opam
61 lines (55 loc) · 1.74 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
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
* WHIRLPOOL
* BLAKE2B
* BLAKE2S
* RIPEMD160
"""
build: [ "dune" "build" "-p" name "-j" jobs ]
run-test: [ "dune" "runtest" "-p" name "-j" jobs ]
depends: [
"ocaml" {>= "4.03.0" & < "5.0"}
"dune" {>= "1.9.2" & < "2.6"}
"eqaf"
"base-bytes"
"base-bigarray"
"fmt" {with-test}
"alcotest" {with-test & < "1.0.0"}
]
depopts: [
"ocaml-freestanding"
"mirage-xen-posix"
]
conflicts: [
"mirage-xen-posix" {< "3.1.0"}
"ocaml-freestanding" {< "0.4.3"}
"mirage-runtime" {< "4.0.0"}
]
url {
src:
"https://github.com/mirage/digestif/releases/download/v0.7.3/digestif-v0.7.3.tbz"
checksum: [
"sha256=fa0e3fd543b84ab4fb11e2f2333ba51678b0d607895f0f5528e0f640c382cd8e"
"sha512=7c2efbd63d893ab743efa9de0e9c31f47ef84e5319a2293529c8ffd7ced40e2d5906c43ee011bb0aa0020a96e7f67bc5e5e66ac43bafc598d7e08bbeb781a0c5"
]
}
available: [ arch != "s390x" ]