|
| 1 | +opam-version: "2.0" |
| 2 | +synopsis: "Compiler for High-Assurance and High-Speed Cryptography" |
| 3 | +description: """ |
| 4 | +Jasmin is a workbench for high-assurance and high-speed cryptography. Jasmin |
| 5 | +implementations aim at being efficient, safe, correct, and secure. |
| 6 | +""" |
| 7 | +maintainer: "Jean-Christophe Léchenet < [email protected]>" |
| 8 | +author: "Jasmin authors and contributors" |
| 9 | +license: "MIT" |
| 10 | +homepage: "https://github.com/jasmin-lang/jasmin" |
| 11 | +bug-reports: "https://github.com/jasmin-lang/jasmin/issues" |
| 12 | +dev-repo: "git+https://github.com/jasmin-lang/jasmin.git" |
| 13 | + |
| 14 | +depends: [ |
| 15 | + "ocaml" {>= "4.11" & build} |
| 16 | + "batteries" {>= "3.5.0"} |
| 17 | + "menhir" {>= "20160825" & build} |
| 18 | + "menhirLib" |
| 19 | + "camlidl" |
| 20 | + "zarith" {>= "1.9.0"} |
| 21 | + "apron" {>= "v0.9.12"} |
| 22 | + "conf-ppl" |
| 23 | + "yojson" {>= "1.6.0"} |
| 24 | + "dune" {>= "3.2"} |
| 25 | + "cmdliner" {>= "1.1" & build } |
| 26 | + "angstrom" {>= "0.14.0"} |
| 27 | + "ocamlfind" { build } |
| 28 | +] |
| 29 | +build: [ |
| 30 | + [make "-C" "compiler" "build"] |
| 31 | +] |
| 32 | +install: [ |
| 33 | + ["mkdir" "-p" "%{prefix}%/bin"] |
| 34 | + ["cp" "-L" "compiler/_build/install/default/bin/jasminc" "%{prefix}%/bin/jasminc"] |
| 35 | + ["cp" "-L" "compiler/_build/install/default/bin/jasmin2tex" "%{prefix}%/bin/jasmin2tex"] |
| 36 | + ["cp" "-L" "compiler/_build/install/default/bin/jasmin-ct" "%{prefix}%/bin/jasmin-ct"] |
| 37 | + ["cp" "-L" "compiler/_build/install/default/bin/jasmin2ec" "%{prefix}%/bin/jasmin2ec"] |
| 38 | + ["mkdir" "-p" "%{prefix}%/lib/jasmin/easycrypt"] |
| 39 | + ["sh" "-c" "cp eclib/*.ec \"%{prefix}%/lib/jasmin/easycrypt/\""] |
| 40 | +] |
| 41 | +url { |
| 42 | + src: "https://github.com/jasmin-lang/jasmin/releases/download/v2025.02.0/jasmin-compiler-v2025.02.0.tar.bz2" |
| 43 | + checksum: "sha256=c4b4cc77217264696786e67588e83c4e09bb68b8a383995c789c602dd107c3e4" |
| 44 | +} |
0 commit comments