-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
49 lines (47 loc) · 1.38 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
45
46
47
48
49
opam-version: "2.0"
maintainer: "martin@mjambon.com"
authors: ["Martin Jambon"]
homepage: "http://mjambon.com/yojson.html"
bug-reports: "https://github.com/mjambon/yojson/issues"
dev-repo: "git+https://github.com/mjambon/yojson.git"
build: [
[make] {ocaml:native}
[make "all"] {!ocaml:native}
]
install: [
[make "install-lib"]
]
remove: [
[make "uninstall-lib"]
]
depends: [
"ocaml" {>= "4.01.0" & < "4.06.0"}
"ocamlfind"
"cppo"
"easy-format"
"biniou" {>= "1.0.6"}
]
synopsis:
"Yojson is an optimized parsing and printing library for the JSON format"
description: """
It addresses a few shortcomings of json-wheel including 2x speedup,
polymorphic variants and optional syntax for tuples and variants.
ydump is a pretty-printing command-line program provided with the
yojson package.
The program atdgen can be used to derive OCaml-JSON serializers and
deserializers from type definitions."""
url {
src: "https://github.com/mjambon/yojson/archive/v1.3.0.tar.gz"
checksum: [
"sha256=80e26e6d902c57bbacf44467f2a5cc30e4e189260093c66a3269fb1b1cc37094"
"md5=5891b2b417fbb9bde175d22ff2d9455b"
]
}
extra-source "yojson.install" {
src:
"https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/yojson/yojson.install"
checksum: [
"sha256=73633947c86ec079a27639b6be6bb16979a66ddfb9fafe0e34e81d26111d7d25"
"md5=992a663b313888121778a1b7b18b622c"
]
}