opam-version: "2.0" maintainer: [ "Eyyüb Sari " "Romain Calascibetta " ] authors: [ "Eyyüb Sari " "Romain Calascibetta " ] 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 * WHIRLPOOL * BLAKE2B * BLAKE2S * RIPEMD160 """ build: [ [ "dune" "build" "-p" name "-j" jobs ] [ "./install/install.ml" ] [ "dune" "runtest" "-p" name "-j" jobs ] {with-test} ] install: [ [ "dune" "install" "-p" name ] {with-test} [ "./test/test_runes.ml" ] {with-test} ] depends: [ "ocaml" {>= "4.03.0"} "dune" {>= "2.6.0"} "eqaf" "base-bytes" "bigarray-compat" "stdlib-shims" "fmt" {with-test} "alcotest" {with-test} "bos" {with-test} "astring" {with-test} "fpath" {with-test} "rresult" {with-test} "ocamlfind" {build & with-test} ] depopts: [ "ocaml-freestanding" "mirage-xen-posix" ] conflicts: [ "mirage-xen-posix" {< "3.1.0"} "ocaml-freestanding" {< "0.4.3"} ] url { src: "https://github.com/mirage/digestif/releases/download/v0.9.0/digestif-v0.9.0.tbz" checksum: [ "sha256=040f1558635c7fc49609406866ab1752e26ae4fcfae01f31d2dd902b5fbe696e" "sha512=a3b904ed1b3e2354f5efd71ee546041d2bb31091161597acb82e4bc2d0686b34d348adba1aef5b927efa28e1764b60f65c171019dd11952c72a76c92510878ee" ] } available: [ arch != "s390x" ]