Skip to content

Commit

Permalink
[new release] digestif (1.1.3)
Browse files Browse the repository at this point in the history
CHANGES:

- Support MSVC compiler (@jonahbeckford, mirage/digestif#137)
- Fix CI on Windows (`test_conv.ml` requires `/dev/urandom`) (@dinosaure, mirage/digestif#138)
- Fix threads support (@dinosaure, mirage/digestif#140)
- Delete the META trick needed for MirageOS 3 when we install `digestif` (@dinosaure, mirage/digestif#141)
  This version of `digestif` breaks the compatibility with MirageOS 3
  and `ocaml-freestanding`. This PR should unlock the ability to
  use `dune-cache`.
  • Loading branch information
dinosaure committed Oct 20, 2022
1 parent d7326a8 commit 0bd765a
Showing 1 changed file with 64 additions and 0 deletions.
64 changes: 64 additions & 0 deletions packages/digestif/digestif.1.1.3/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
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
* 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"}
"conf-pkg-config" {build}
"eqaf"
"fmt" {with-test}
"alcotest" {with-test}
"bos" {with-test}
"astring" {with-test}
"fpath" {with-test}
"rresult" {with-test}
"ocamlfind" {with-test}
]

conflicts: [
"mirage-xen" {< "6.0.0"}
"ocaml-freestanding"
]
url {
src:
"https://github.com/mirage/digestif/releases/download/v1.1.3/digestif-1.1.3.tbz"
checksum: [
"sha256=c32b8ecbc40b22645ae3d6e386bb9c9c5ab2fde130a252e994b18eb0d580c92e"
"sha512=1f76d1ca38cc0e5a04359d197783bc5cf479d01d732a92b4e8e5a7ef0651a645a12d9c51535531e274a894b445d78d98da1fd3201bf47c232f1f6b74ff051f80"
]
}
x-commit-hash: "5a959baee61a19e4a4243dd00cdefa5e726d4109"

0 comments on commit 0bd765a

Please # to comment.