Skip to content

Commit a7f2270

Browse files
authored
Attempt to fix bin_prot on suse (#27836)
* Attempt to fix bin_prot on suse * Use patch instead * Use versioning convention * Try excluding suse in a better way?
2 parents e3a212a + fb9ec55 commit a7f2270

File tree

2 files changed

+45
-1
lines changed
  • packages/bin_prot
    • bin_prot.v0.17.0-1
    • bin_prot.v0.17.0

2 files changed

+45
-1
lines changed
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
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+
}

packages/bin_prot/bin_prot.v0.17.0/opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ depends: [
2424
depopts: [
2525
"mirage-xen-ocaml"
2626
]
27-
available: arch != "x86_32" & os != "freebsd"
27+
available: arch != "x86_32" & os != "freebsd" & os-family != "opensuse" & os-family != "suse" & os-family != "opensuse-tumbleweed"
2828
synopsis: "A binary protocol generator"
2929
description: "
3030
Part of Jane Street's Core library

0 commit comments

Comments
 (0)