You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
1.2 KiB
39 lines
1.2 KiB
6 years ago
|
opam-version: "2.0"
|
||
|
maintainer: "martin@mjambon.com"
|
||
|
authors: ["Martin Jambon"]
|
||
|
homepage: "https://github.com/ocaml-community/yojson"
|
||
|
bug-reports: "https://github.com/ocaml-community/yojson/issues"
|
||
|
dev-repo: "git+https://github.com/ocaml-community/yojson.git"
|
||
|
doc: "https://ocaml-community.github.io/yojson/"
|
||
|
build: [
|
||
|
["dune" "subst"] {pinned}
|
||
|
["dune" "build" "-p" name "-j" jobs]
|
||
|
]
|
||
6 years ago
|
run-test: [["dune" "runtest" "-p" name "-j" jobs]]
|
||
6 years ago
|
depends: [
|
||
|
"ocaml" {>= "4.02.3"}
|
||
|
"dune" {build}
|
||
|
"cppo" {build}
|
||
|
"easy-format"
|
||
|
"biniou" {>= "1.2.0"}
|
||
6 years ago
|
"alcotest" {with-test & >= "0.8.5"}
|
||
6 years ago
|
]
|
||
|
synopsis:
|
||
|
"Yojson is an optimized parsing and printing library for the JSON format"
|
||
|
description: """
|
||
|
Yojson is an optimized parsing and printing library for the JSON format.
|
||
|
|
||
|
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:
|
||
6 years ago
|
"https://github.com/ocaml-community/yojson/releases/download/1.7.0/yojson-1.7.0.tbz"
|
||
|
checksum: "md5=b89d39ca3f8c532abe5f547ad3b8f84d"
|
||
6 years ago
|
}
|