|
| 1 | +opam-version: "2.0" |
| 2 | +maintainer: [ "Eyyüb Sari < [email protected]>" |
| 3 | + "Romain Calascibetta < [email protected]>" ] |
| 4 | +authors: [ "Eyyüb Sari < [email protected]>" |
| 5 | + "Romain Calascibetta < [email protected]>" ] |
| 6 | +homepage: "https://github.com/mirage/digestif" |
| 7 | +bug-reports: "https://github.com/mirage/digestif/issues" |
| 8 | +dev-repo: "git+https://github.com/mirage/digestif.git" |
| 9 | +doc: "https://mirage.github.io/digestif/" |
| 10 | +license: "MIT" |
| 11 | +synopsis: "Hashes implementations (SHA*, RIPEMD160, BLAKE2* and MD5)" |
| 12 | +description: """ |
| 13 | +Digestif is a toolbox to provide hashes implementations in C and OCaml. |
| 14 | + |
| 15 | +It uses the linking trick and user can decide at the end to use the C implementation or the OCaml implementation. |
| 16 | + |
| 17 | +We provides implementation of: |
| 18 | + * MD5 |
| 19 | + * SHA1 |
| 20 | + * SHA224 |
| 21 | + * SHA256 |
| 22 | + * SHA384 |
| 23 | + * SHA512 |
| 24 | + * SHA3 |
| 25 | + * Keccak-256 |
| 26 | + * WHIRLPOOL |
| 27 | + * BLAKE2B |
| 28 | + * BLAKE2S |
| 29 | + * RIPEMD160 |
| 30 | +""" |
| 31 | + |
| 32 | +build: [ |
| 33 | + [ "dune" "build" "-p" name "-j" jobs ] |
| 34 | + [ "dune" "runtest" "-p" name "-j" jobs ] {with-test} |
| 35 | +] |
| 36 | +install: [ |
| 37 | + [ "dune" "install" "-p" name ] {with-test} |
| 38 | + [ "ocaml" "./test/test_runes.ml" ] {with-test} |
| 39 | +] |
| 40 | + |
| 41 | +depends: [ |
| 42 | + "ocaml" {>= "4.08.0"} |
| 43 | + "dune" {>= "2.6.0"} |
| 44 | + "eqaf" |
| 45 | + "fmt" {with-test & >= "0.8.7"} |
| 46 | + "alcotest" {with-test} |
| 47 | + "bos" {with-test} |
| 48 | + "astring" {with-test} |
| 49 | + "fpath" {with-test} |
| 50 | + "rresult" {with-test} |
| 51 | + "ocamlfind" {with-test} |
| 52 | + "crowbar" {with-test} |
| 53 | +] |
| 54 | + |
| 55 | +conflicts: [ |
| 56 | + "mirage-xen" {< "6.0.0"} |
| 57 | + "ocaml-freestanding" |
| 58 | +] |
| 59 | +x-maintenance-intent: [ "(latest)" ] |
| 60 | +url { |
| 61 | + src: |
| 62 | + "https://github.com/mirage/digestif/releases/download/v1.3.0/digestif-1.3.0.tbz" |
| 63 | + checksum: [ |
| 64 | + "sha256=9a6cdcb332539c87f4723fc3bd73626b2675a7b1161fdf0fed309186ce18f427" |
| 65 | + "sha512=986d98eeb79f75ff69842a7ed4b93b4ff3795df7c09d455ca0c41408d67415a6743253a96c7e0de653dc62db95cb1fd29b1c654472fa11259cddde65dd5dd352" |
| 66 | + ] |
| 67 | +} |
| 68 | +x-commit-hash: "0763eb3b34ac8881925c4f50055f4bff3808aed4" |
0 commit comments