this repo has no description
1opam-version: "2.0"
2maintainer: [ "Eyyüb Sari <eyyub.sari@epitech.eu>"
3 "Romain Calascibetta <romain.calascibetta@gmail.com>" ]
4authors: [ "Eyyüb Sari <eyyub.sari@epitech.eu>"
5 "Romain Calascibetta <romain.calascibetta@gmail.com>" ]
6homepage: "https://github.com/mirage/digestif"
7bug-reports: "https://github.com/mirage/digestif/issues"
8dev-repo: "git+https://github.com/mirage/digestif.git"
9doc: "https://mirage.github.io/digestif/"
10license: "MIT"
11synopsis: "Hashes implementations (SHA*, RIPEMD160, BLAKE2* and MD5)"
12description: """
13Digestif is a toolbox to provide hashes implementations in C and OCaml.
14
15It uses the linking trick and user can decide at the end to use the C implementation or the OCaml implementation.
16
17We provides implementation of:
18 * MD5
19 * SHA1
20 * SHA224
21 * SHA256
22 * SHA384
23 * SHA512
24 * SHA3
25 * WHIRLPOOL
26 * BLAKE2B
27 * BLAKE2S
28 * RIPEMD160
29"""
30
31build: [
32 [ "dune" "build" "-p" name "-j" jobs ]
33 [ "./install/install.ml" ]
34 [ "dune" "runtest" "-p" name "-j" jobs ] {with-test}
35]
36install: [
37 [ "dune" "install" "-p" name ] {with-test}
38 [ "./test/test_runes.ml" ] {with-test}
39]
40
41depends: [
42 "ocaml" {>= "4.03.0"}
43 "dune" {>= "2.6.0"}
44 "eqaf"
45 "base-bytes"
46 "bigarray-compat"
47 "stdlib-shims"
48 "fmt" {with-test}
49 "alcotest" {with-test}
50 "bos" {with-test}
51 "astring" {with-test}
52 "fpath" {with-test}
53 "rresult" {with-test}
54 "ocamlfind" {build & with-test}
55]
56
57depopts: [
58 "ocaml-freestanding"
59 "mirage-xen-posix"
60]
61
62conflicts: [
63 "mirage-xen-posix" {< "3.1.0"}
64 "ocaml-freestanding" {< "0.4.3"}
65]
66url {
67 src:
68 "https://github.com/mirage/digestif/releases/download/v0.9.0/digestif-v0.9.0.tbz"
69 checksum: [
70 "sha256=040f1558635c7fc49609406866ab1752e26ae4fcfae01f31d2dd902b5fbe696e"
71 "sha512=a3b904ed1b3e2354f5efd71ee546041d2bb31091161597acb82e4bc2d0686b34d348adba1aef5b927efa28e1764b60f65c171019dd11952c72a76c92510878ee"
72 ]
73}
74available: [ arch != "s390x" ]