-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
39 lines (37 loc) · 1.2 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
opam-version: "2.0"
maintainer: "https://github.com/ocaml/opam-repository/issues"
build: make
remove: [["ocamlfind" "remove" "yojson"]]
depends: [
"ocaml" {< "4.06.0"}
"ocamlfind"
"cppo"
"easy-format"
"biniou" {>= "1.0.6"}
]
install: [make "install" "BINDIR=%{bin}%"]
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."""
flags: light-uninstall
url {
src: "https://github.com/mjambon/yojson/archive/v1.1.6.tar.gz"
checksum: [
"sha256=d97497f4d0694f515a9c12708eda2654dddb289b2ed567a377706e62e54c480d"
"md5=8015cfc9a4378bbb1de74a10ef264bdf"
]
}
extra-source "yojson.install" {
src:
"https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/yojson/yojson.install"
checksum: [
"sha256=73633947c86ec079a27639b6be6bb16979a66ddfb9fafe0e34e81d26111d7d25"
"md5=992a663b313888121778a1b7b18b622c"
]
}