From e628660aa48a23cf2dcd1c3d9c6c664ee05980b5 Mon Sep 17 00:00:00 2001 From: Marek Kubica Date: Tue, 28 Jun 2022 15:11:26 +0200 Subject: [PATCH] [new release] yojson and yojson-bench (2.0.1) CHANGES: *2022-06-28* ### Fixed - Fix pretty-printing behavior for lists/objects inside lists (@c-cube ocaml-community/yojson#141, @mjambon ocaml-community/yojson#142) --- packages/yojson-bench/yojson-bench.2.0.1/opam | 34 +++++++++++++++++ packages/yojson/yojson.2.0.1/opam | 38 +++++++++++++++++++ 2 files changed, 72 insertions(+) create mode 100644 packages/yojson-bench/yojson-bench.2.0.1/opam create mode 100644 packages/yojson/yojson.2.0.1/opam diff --git a/packages/yojson-bench/yojson-bench.2.0.1/opam b/packages/yojson-bench/yojson-bench.2.0.1/opam new file mode 100644 index 00000000000..3059a5373c5 --- /dev/null +++ b/packages/yojson-bench/yojson-bench.2.0.1/opam @@ -0,0 +1,34 @@ +opam-version: "2.0" +maintainer: ["paul-elliot@tarides.com" "nathan@tarides.com" "marek@tarides.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/" +license: "BSD-3-Clause" +depends: [ + "ocaml" {>= "4.08"} + "yojson" {= version} + "dune" + "core_bench" {>= "v0.14.0"} + "core" {>= "v0.14.0"} + "core_unix" {>= "v0.14.0"} +] +build: [ + ["dune" "subst"] {dev} + ["dune" "build" "-p" name "-j" jobs] +] +synopsis: "Run Yojson benchmarks" +description: """\ +Yojson benchmarks require `Core_bench` which is not a dependency of Yojson, +because it is not part of the regular installation/testing flow. This is solely +meant for developers that are worried about performance changes in Yojson.""" +url { + src: + "https://github.com/ocaml-community/yojson/releases/download/2.0.1/yojson-2.0.1.tbz" + checksum: [ + "sha256=8bc8bc722a4a94656a58394f17f9f8a406267343ab87d77202db930584a0c836" + "sha512=93ebabd3247f1b5826827472229188c5ac1b4d2395eb8121a22b35acd773eedd290e6b8de1f067020fc868da7c05a60408091eebc0b305a67408d558a3a94c10" + ] +} +x-commit-hash: "b67669eaa82d56663dc042246787d18789457cfc" diff --git a/packages/yojson/yojson.2.0.1/opam b/packages/yojson/yojson.2.0.1/opam new file mode 100644 index 00000000000..2e8f9cb954a --- /dev/null +++ b/packages/yojson/yojson.2.0.1/opam @@ -0,0 +1,38 @@ +opam-version: "2.0" +maintainer: ["nathan@cryptosense.com" "marek@xivilization.net"] +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/" +license: "BSD-3-Clause" +build: [ + ["dune" "subst"] {dev} + ["dune" "build" "-p" name "-j" jobs] + ["dune" "runtest" "-p" name "-j" jobs] {with-test} + ["dune" "build" "@doc" "-p" name "-j" jobs] {with-doc} +] +depends: [ + "ocaml" {>= "4.02.3"} + "dune" + "cppo" {build} + "alcotest" {with-test & >= "0.8.5"} + "odoc" {with-doc} + "seq" {>= "0.2.2"} +] +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. + +ydump is a pretty-printing command-line program provided with the +yojson package.""" +url { + src: + "https://github.com/ocaml-community/yojson/releases/download/2.0.1/yojson-2.0.1.tbz" + checksum: [ + "sha256=8bc8bc722a4a94656a58394f17f9f8a406267343ab87d77202db930584a0c836" + "sha512=93ebabd3247f1b5826827472229188c5ac1b4d2395eb8121a22b35acd773eedd290e6b8de1f067020fc868da7c05a60408091eebc0b305a67408d558a3a94c10" + ] +} +x-commit-hash: "b67669eaa82d56663dc042246787d18789457cfc"