-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
2 packages from cryspen/hacl-packages at 0.7.2
- Loading branch information
1 parent
75006f8
commit af98a14
Showing
2 changed files
with
85 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
opam-version: "2.0" | ||
synopsis: "Auto-generated low-level OCaml bindings for EverCrypt/HACL*" | ||
description: """\ | ||
This package contains a snapshot of the EverCrypt crypto provider and | ||
the HACL* library, along with automatically generated Ctypes bindings. | ||
For a higher-level idiomatic API see the `hacl-star` package, of | ||
which `hacl-star-raw` is a dependency.""" | ||
maintainer: "Victor Dumitrescu <[email protected]>" | ||
authors: "Project Everest" | ||
license: "Apache-2.0" | ||
homepage: "https://cryspen.com/hacl-packages/" | ||
bug-reports: "https://github.com/cryspen/hacl-packages/issues" | ||
depends: [ | ||
"ocaml" {>= "4.08.0"} | ||
"dune" {>= "1.2"} | ||
"ocamlfind" {build} | ||
"ctypes" {>= "0.18.0"} | ||
"conf-which" {build} | ||
"conf-cmake" {build} | ||
] | ||
conflicts: ["ocaml-option-bytecode-only"] | ||
available: | ||
arch != "ppc64" & arch != "ppc32" & arch != "arm32" & | ||
(os = "freebsd" | os-family != "bsd") | ||
build: [ | ||
[make "-C" "hacl-star-raw" "build-c"] | ||
[make "-C" "hacl-star-raw" "build-bindings"] | ||
] | ||
install: [make "-C" "hacl-star-raw" "install"] | ||
dev-repo: "git+https://github.com/cryspen/hacl-packages.git" | ||
url { | ||
src: | ||
"https://github.com/cryspen/hacl-packages/releases/download/ocaml-v0.7.2/hacl-star.0.7.2.tar.gz" | ||
checksum: [ | ||
"md5=57971d3b7f4ac8de0f2c35064e847176" | ||
"sha512=205d2f6ba0694adcce6a90780f5255f011c63da432ca2b2a1ab62631377da1bda535d4ac5b5e525ffda7c9464dc8fa991921a98b23ad430563687416755cc31a" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
opam-version: "2.0" | ||
synopsis: "OCaml API for EverCrypt/HACL*" | ||
description: """\ | ||
Documentation for this library can be found | ||
[here](https://cryspen.com/hacl-packages/ocaml/main/index.html).""" | ||
maintainer: "Victor Dumitrescu <[email protected]>" | ||
authors: "Project Everest" | ||
license: "Apache-2.0" | ||
homepage: "https://cryspen.com/hacl-packages/" | ||
doc: "https://cryspen.com/hacl-packages/ocaml/main/index.html" | ||
bug-reports: "https://github.com/cryspen/hacl-packages/issues" | ||
depends: [ | ||
"ocaml" {>= "4.08.0"} | ||
"dune" {>= "1.2"} | ||
"hacl-star-raw" {= version} | ||
"zarith" | ||
"cppo" {build} | ||
"alcotest" {with-test & >= "1.1.0"} | ||
"qcheck-core" {with-test & >= "0.20"} | ||
"secp256k1-internal" {with-test} | ||
"cstruct" {with-test} | ||
"odoc" {with-doc} | ||
] | ||
available: os = "freebsd" | os-family != "bsd" | ||
build: [ | ||
["dune" "subst"] {dev} | ||
[ | ||
"dune" | ||
"build" | ||
"-p" | ||
name | ||
"-j" | ||
jobs | ||
"@install" | ||
"@runtest" {with-test} | ||
"@doc" {with-doc} | ||
] | ||
] | ||
dev-repo: "git+https://github.com/cryspen/hacl-packages.git" | ||
url { | ||
src: | ||
"https://github.com/cryspen/hacl-packages/releases/download/ocaml-v0.7.2/hacl-star.0.7.2.tar.gz" | ||
checksum: [ | ||
"md5=57971d3b7f4ac8de0f2c35064e847176" | ||
"sha512=205d2f6ba0694adcce6a90780f5255f011c63da432ca2b2a1ab62631377da1bda535d4ac5b5e525ffda7c9464dc8fa991921a98b23ad430563687416755cc31a" | ||
] | ||
} |