|
| 1 | +opam-version: "2.0" |
| 2 | +maintainer: "Jane Street developers" |
| 3 | +authors: ["Jane Street Group, LLC"] |
| 4 | +homepage: "https://github.com/janestreet/bin_prot" |
| 5 | +bug-reports: "https://github.com/janestreet/bin_prot/issues" |
| 6 | +dev-repo: "git+https://github.com/janestreet/bin_prot.git" |
| 7 | +doc: "https://ocaml.janestreet.com/ocaml-core/latest/doc/bin_prot/index.html" |
| 8 | +license: "MIT" |
| 9 | +patches: [ "remove-outdated-mirage-xen-cross-compilation-rules.patch" ] |
| 10 | +build: [ |
| 11 | + ["dune" "build" "-p" name "-j" jobs] |
| 12 | +] |
| 13 | +depends: [ |
| 14 | + "ocaml" {>= "5.1.0"} |
| 15 | + "base" {>= "v0.17" & < "v0.18"} |
| 16 | + "ppx_compare" {>= "v0.17" & < "v0.18"} |
| 17 | + "ppx_custom_printf" {>= "v0.17" & < "v0.18"} |
| 18 | + "ppx_fields_conv" {>= "v0.17" & < "v0.18"} |
| 19 | + "ppx_optcomp" {>= "v0.17" & < "v0.18"} |
| 20 | + "ppx_sexp_conv" {>= "v0.17" & < "v0.18"} |
| 21 | + "ppx_stable_witness" {>= "v0.17" & < "v0.18"} |
| 22 | + "ppx_variants_conv" {>= "v0.17" & < "v0.18"} |
| 23 | + "dune" {>= "3.11.0"} |
| 24 | +] |
| 25 | +available: arch != "x86_32" & os != "freebsd" |
| 26 | +synopsis: "A binary protocol generator" |
| 27 | +description: " |
| 28 | +Part of Jane Street's Core library |
| 29 | +The Core suite of libraries is an industrial strength alternative to |
| 30 | +OCaml's standard library that was developed by Jane Street, the |
| 31 | +largest industrial user of OCaml. |
| 32 | +" |
| 33 | +url { |
| 34 | +src: "https://github.com/janestreet/bin_prot/archive/refs/tags/v0.17.0.tar.gz" |
| 35 | +checksum: "sha256=0e6c61aff150d19a0f89cb3e354ab36189e4bc23e28ab8bce03b6c6b6004f237" |
| 36 | +} |
| 37 | +extra-source "remove-outdated-mirage-xen-cross-compilation-rules.patch" { |
| 38 | + src: |
| 39 | + "https://github.com/smuenzel/opam-source-archives/raw/refs/heads/add-bin-prot-patch/patches/bin_prot/remove-outdated-mirage-xen-cross-compilation-rules.patch" |
| 40 | + checksum: [ |
| 41 | + "sha256=0c6fdc1a9377ae678895f237bae191ac458e507550063de143f1ee70a39ba318" |
| 42 | + "md5=0b9ecf65c743f358ead5ad9f586cdee0" |
| 43 | + ] |
| 44 | +} |
0 commit comments