Skip to content

Commit 0ddf8d6

Browse files
committed
Use versioning convention
1 parent d001431 commit 0ddf8d6

File tree

2 files changed

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

2 files changed

+48
-10
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: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ bug-reports: "https://github.com/janestreet/bin_prot/issues"
66
dev-repo: "git+https://github.com/janestreet/bin_prot.git"
77
doc: "https://ocaml.janestreet.com/ocaml-core/latest/doc/bin_prot/index.html"
88
license: "MIT"
9-
patches: [ "remove-outdated-mirage-xen-cross-compilation-rules.patch" ]
109
build: [
1110
["dune" "build" "-p" name "-j" jobs]
1211
]
@@ -22,7 +21,10 @@ depends: [
2221
"ppx_variants_conv" {>= "v0.17" & < "v0.18"}
2322
"dune" {>= "3.11.0"}
2423
]
25-
available: arch != "x86_32" & os != "freebsd"
24+
depopts: [
25+
"mirage-xen-ocaml"
26+
]
27+
available: arch != "x86_32" & os != "freebsd" & os-family != "opensuse"
2628
synopsis: "A binary protocol generator"
2729
description: "
2830
Part of Jane Street's Core library
@@ -34,11 +36,3 @@ url {
3436
src: "https://github.com/janestreet/bin_prot/archive/refs/tags/v0.17.0.tar.gz"
3537
checksum: "sha256=0e6c61aff150d19a0f89cb3e354ab36189e4bc23e28ab8bce03b6c6b6004f237"
3638
}
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

Comments
 (0)