Skip to content

Commit 5125fae

Browse files
authored
Merge pull request #26229 from c-cube/release-ocaml-protoc-v3.1
[new release] ocaml-protoc (4 packages) (3.1)
2 parents e97076b + a26460e commit 5125fae

File tree

4 files changed

+157
-0
lines changed
  • packages
    • ocaml-protoc/ocaml-protoc.3.1
    • pbrt_services/pbrt_services.3.1
    • pbrt_yojson/pbrt_yojson.3.1
    • pbrt/pbrt.3.1

4 files changed

+157
-0
lines changed
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
opam-version: "2.0"
2+
synopsis: "Pure OCaml compiler for .proto files"
3+
maintainer: ["Maxime Ransan <[email protected]>" "Simon Cruanes"]
4+
authors: ["Maxime Ransan <[email protected]>" "Simon Cruanes"]
5+
license: "MIT"
6+
tags: ["protoc" "protobuf" "codegen"]
7+
homepage: "https://github.com/mransan/ocaml-protoc"
8+
bug-reports: "https://github.com/mransan/ocaml-protoc/issues"
9+
depends: [
10+
"dune" {>= "2.0"}
11+
"odoc" {with-doc}
12+
"pbrt" {= version}
13+
"pbrt_yojson" {= version & with-test}
14+
"pbrt_services" {= version & with-test}
15+
"ocaml" {>= "4.08"}
16+
]
17+
build: [
18+
["dune" "subst"] {dev}
19+
[
20+
"dune"
21+
"build"
22+
"-p"
23+
name
24+
"-j"
25+
jobs
26+
"@install"
27+
"@runtest" {with-test}
28+
"@doc" {with-doc}
29+
]
30+
]
31+
dev-repo: "git+https://github.com/mransan/ocaml-protoc.git"
32+
url {
33+
src:
34+
"https://github.com/mransan/ocaml-protoc/releases/download/v3.1/ocaml-protoc-3.1.tbz"
35+
checksum: [
36+
"sha256=4bd16bb119f5c55a9d5e906173d8611cb7664a0c926f108077eb05f1ceb7de03"
37+
"sha512=01266efcc926dd7042e9eddc874b0c41c65688b36ec3e30756a69e09d6cc57eaa8d4a043015b668a2e61cc45cac7efa51cdbad06757a98a55ff53416af98c44d"
38+
]
39+
}
40+
x-commit-hash: "955cce3335833c1e0c2327bb99696da57941096c"

packages/pbrt/pbrt.3.1/opam

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
opam-version: "2.0"
2+
synopsis: "Runtime library for Protobuf tooling"
3+
maintainer: ["Maxime Ransan <[email protected]>" "Simon Cruanes"]
4+
authors: ["Maxime Ransan <[email protected]>" "Simon Cruanes"]
5+
license: "MIT"
6+
tags: ["protobuf" "encode" "decode"]
7+
homepage: "https://github.com/mransan/ocaml-protoc"
8+
bug-reports: "https://github.com/mransan/ocaml-protoc/issues"
9+
depends: [
10+
"dune" {>= "2.0"}
11+
"stdlib-shims"
12+
"odoc" {with-doc}
13+
"ocaml" {>= "4.08"}
14+
]
15+
dev-repo: "git+https://github.com/mransan/ocaml-protoc.git"
16+
available: arch != "arm32" & arch != "x86_32" & arch != "ppc32" & arch != "ppc64"
17+
build: [
18+
["dune" "subst"] {dev}
19+
[
20+
"dune"
21+
"build"
22+
"-p"
23+
name
24+
"-j"
25+
jobs
26+
"@install"
27+
"@src/tests/unit-tests/pbrt/runtest" {with-test} # custom path
28+
"@doc" {with-doc}
29+
]
30+
]
31+
url {
32+
src:
33+
"https://github.com/mransan/ocaml-protoc/releases/download/v3.1/ocaml-protoc-3.1.tbz"
34+
checksum: [
35+
"sha256=4bd16bb119f5c55a9d5e906173d8611cb7664a0c926f108077eb05f1ceb7de03"
36+
"sha512=01266efcc926dd7042e9eddc874b0c41c65688b36ec3e30756a69e09d6cc57eaa8d4a043015b668a2e61cc45cac7efa51cdbad06757a98a55ff53416af98c44d"
37+
]
38+
}
39+
x-commit-hash: "955cce3335833c1e0c2327bb99696da57941096c"
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
opam-version: "2.0"
2+
synopsis: "Runtime library for ocaml-protoc to support RPC services"
3+
maintainer: ["Maxime Ransan <[email protected]>" "Simon Cruanes"]
4+
authors: ["Maxime Ransan <[email protected]>" "Simon Cruanes"]
5+
license: "MIT"
6+
tags: ["protobuf" "encode" "decode" "services" "rpc"]
7+
homepage: "https://github.com/mransan/ocaml-protoc"
8+
bug-reports: "https://github.com/mransan/ocaml-protoc/issues"
9+
depends: [
10+
"dune" {>= "2.0"}
11+
"ocaml" {>= "4.08"}
12+
"pbrt" {= version}
13+
"pbrt_yojson" {= version}
14+
]
15+
dev-repo: "git+https://github.com/mransan/ocaml-protoc.git"
16+
build: [
17+
["dune" "subst"] {dev}
18+
[
19+
"dune"
20+
"build"
21+
"-p"
22+
name
23+
"-j"
24+
jobs
25+
"@install"
26+
# "@runtest" {with-test} # no tests
27+
"@doc" {with-doc}
28+
]
29+
]
30+
url {
31+
src:
32+
"https://github.com/mransan/ocaml-protoc/releases/download/v3.1/ocaml-protoc-3.1.tbz"
33+
checksum: [
34+
"sha256=4bd16bb119f5c55a9d5e906173d8611cb7664a0c926f108077eb05f1ceb7de03"
35+
"sha512=01266efcc926dd7042e9eddc874b0c41c65688b36ec3e30756a69e09d6cc57eaa8d4a043015b668a2e61cc45cac7efa51cdbad06757a98a55ff53416af98c44d"
36+
]
37+
}
38+
x-commit-hash: "955cce3335833c1e0c2327bb99696da57941096c"
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
opam-version: "2.0"
2+
synopsis:
3+
"Runtime library for ocaml-protoc to support JSON encoding/decoding"
4+
maintainer: ["Maxime Ransan <[email protected]>" "Simon Cruanes"]
5+
authors: ["Maxime Ransan <[email protected]>" "Simon Cruanes"]
6+
license: "MIT"
7+
tags: ["protobuf" "encode" "decode"]
8+
homepage: "https://github.com/mransan/ocaml-protoc"
9+
bug-reports: "https://github.com/mransan/ocaml-protoc/issues"
10+
depends: [
11+
"dune" {>= "2.0"}
12+
"ocaml" {>= "4.08"}
13+
"odoc" {with-doc}
14+
"yojson" {>= "1.6"}
15+
"base64" {>= "3.0"}
16+
]
17+
dev-repo: "git+https://github.com/mransan/ocaml-protoc.git"
18+
build: [
19+
["dune" "subst"] {dev}
20+
[
21+
"dune"
22+
"build"
23+
"-p"
24+
name
25+
"-j"
26+
jobs
27+
"@install"
28+
"@src/tests/yojson/runtest" {with-test}
29+
"@doc" {with-doc}
30+
]
31+
]
32+
url {
33+
src:
34+
"https://github.com/mransan/ocaml-protoc/releases/download/v3.1/ocaml-protoc-3.1.tbz"
35+
checksum: [
36+
"sha256=4bd16bb119f5c55a9d5e906173d8611cb7664a0c926f108077eb05f1ceb7de03"
37+
"sha512=01266efcc926dd7042e9eddc874b0c41c65688b36ec3e30756a69e09d6cc57eaa8d4a043015b668a2e61cc45cac7efa51cdbad06757a98a55ff53416af98c44d"
38+
]
39+
}
40+
x-commit-hash: "955cce3335833c1e0c2327bb99696da57941096c"

0 commit comments

Comments
 (0)