-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
44 lines (44 loc) · 1.28 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
35
36
37
38
39
40
41
42
43
44
opam-version: "2.0"
maintainer: "ygrek@autistici.org"
authors: "ygrek"
homepage: "https://github.com/ygrek/ocaml-cbor"
bug-reports: "https://github.com/ygrek/ocaml-cbor/issues"
dev-repo: "git+https://github.com/ygrek/ocaml-cbor.git"
tags: "org:ygrek"
build: [
[
"ocaml"
"setup.ml"
"-configure"
"--%{yojson:enable}%-tests"
"--prefix"
prefix
]
["ocaml" "setup.ml" "-build"]
["ocaml" "setup.ml" "-test"] {with-test}
["ocaml" "setup.ml" "-doc"] {with-doc}
]
install: ["ocaml" "setup.ml" "-install"]
remove: [["ocamlfind" "remove" "cbor"]]
depends: [
"ocaml" {>= "4.00.0" & < "4.06.0"}
"ocamlfind" {build}
"base-bytes"
"ocplib-endian" {>= "0.6"}
"oasis" {>= "0.4.0"}
"ocamlbuild" {build}
"yojson" {with-test}
]
synopsis: "CBOR encoder/decoder (RFC 7049) - native OCaml implementation"
description: """
The Concise Binary Object Representation (CBOR) is a data format whose design goals
include the possibility of extremely small code size, fairly small message size, and
extensibility without the need for version negotiation."""
flags: light-uninstall
url {
src: "https://ygrek.org/p/release/ocaml-cbor/ocaml-cbor-0.1.tar.gz"
checksum: [
"sha256=41a998affa99f78ad43462fe7685e761a327c8e44a4663c78e7666a8eaa6af47"
"md5=5ff56aa9395808ef27d65685965a41d2"
]
}