-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
34 lines (34 loc) · 1.15 KB
/
opam
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
opam-version: "2.0"
maintainer: "Maxime Ransan <maxime.ransan@gmail.com>"
authors: "Maxime Ransan <maxime.ransan@gmail.com>"
homepage: "https://github.com/mransan/ocaml-protoc"
bug-reports: "https://github.com/mransan/ocaml-protoc/issues"
license: "MIT"
dev-repo: "git+https://github.com/mransan/ocaml-protoc.git"
build: [
[make "lib.byte"]
[make "lib.native"] {ocaml:native}
[make "bin.byte"] {!ocaml:native}
[make "bin.native"] {ocaml:native}
]
install: [
[make "lib.install"]
[make "bin.install" "PREFIX=%{prefix}%" "BINDIR=%{bin}%"]
]
remove: [make "uninstall" "PREFIX=%{prefix}%" "BINDIR=%{bin}%"]
depends: [
"ocaml" {< "5.0"}
"ocamlfind" {build}
"ocamlbuild" {build}
"ppx_deriving_protobuf"
]
synopsis: "A Protobuf Compiler for OCaml"
description:
"'ocaml-protoc' is a compiler of Protobuf file (.proto) to OCaml code. The compiler generate OCaml types with associated decoding/encoding functions following the Protobuf format."
url {
src: "https://github.com/mransan/ocaml-protoc/archive/1.0.4.tar.gz"
checksum: [
"sha256=18fba70d6051eaea8f41a9888cd3c5cf8096190704c4c0b26bd1bbe9843ecb79"
"md5=f68d13ee66b2947d2715275390655d41"
]
}