Skip to content

Commit f374350

Browse files
authored
Use released ppx_deriving_yojson (#37)
1 parent 973a0ec commit f374350

File tree

29 files changed

+257
-375
lines changed

29 files changed

+257
-375
lines changed

esy.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
"@opam/httpaf": "anmonteiro/httpaf:httpaf.opam#7c5d991",
2929
"@opam/httpaf-lwt": "anmonteiro/httpaf:httpaf-lwt.opam#7c5d991",
3030
"@opam/httpaf-lwt-unix": "anmonteiro/httpaf:httpaf-lwt-unix.opam#7c5d991",
31-
"@opam/reason": "facebook/reason:reason.opam#f584e86",
32-
"@opam/ppx_deriving_yojson": "ocaml-ppx/ppx_deriving_yojson:ppx_deriving_yojson.opam#a39728f"
31+
"@opam/reason": "facebook/reason:reason.opam#f584e86"
3332
}
3433
}

esy.lock/index.json

+192-252
Large diffs are not rendered by default.

esy.lock/opam/alcotest.0.8.5/opam

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ build: [
1414
]
1515

1616
depends: [
17-
"dune" {build & >= "1.1.0"}
17+
"dune" {>= "1.1.0"}
1818
"ocaml" {>= "4.02.3"}
1919
"fmt" {>= "0.8.0"}
2020
"astring"

esy.lock/opam/angstrom.0.11.2/opam

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ build: [
1212
]
1313
depends: [
1414
"ocaml" {>= "4.03.0"}
15-
"dune" {build & >= "1.0"}
15+
"dune" {>= "1.0"}
1616
"alcotest" {with-test & >= "0.8.1"}
1717
"bigstringaf"
1818
"result"

esy.lock/opam/base.v0.12.2/opam

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ build: [
1212
depends: [
1313
"ocaml" {>= "4.04.2" & < "4.09.0"}
1414
"sexplib0" {>= "v0.12" & < "v0.13"}
15-
"dune" {build & >= "1.5.1"}
15+
"dune" {>= "1.5.1"}
1616
]
1717
depopts: [
1818
"base-native-int63"

esy.lock/opam/base64.3.2.0/opam

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ representation. It is specified in RFC 4648.
1717
depends: [
1818
"ocaml" {>="4.03.0"}
1919
"base-bytes"
20-
"dune" {build & >= "1.0.1"}
20+
"dune" {>= "1.0.1"}
2121
"bos" {with-test}
2222
"rresult" {with-test}
2323
"alcotest" {with-test}

esy.lock/opam/bigstringaf.0.5.0/opam esy.lock/opam/bigstringaf.0.5.2/opam

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ build: [
1111
["dune" "runtest" "-p" name] {with-test}
1212
]
1313
depends: [
14-
"dune" {build}
14+
"dune"
1515
"alcotest" {with-test}
1616
"base-bigarray"
1717
"ocaml" {>= "4.03.0"}
@@ -37,6 +37,6 @@ Bigstrings and other string-like types.
3737
So here they are. Go crazy.
3838
"""
3939
url {
40-
src: "https://github.com/inhabitedtype/bigstringaf/archive/0.5.0.tar.gz"
41-
checksum: "md5=e6b5e7eb0469ef21b27d1c66feeac356"
40+
src: "https://github.com/inhabitedtype/bigstringaf/archive/0.5.2.tar.gz"
41+
checksum: "md5=c71ad263558e0d8d3f2052de29e43074"
4242
}

esy.lock/opam/cppo.1.6.6/opam

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ doc: "https://ocaml-community.github.io/cppo/"
77
bug-reports: "https://github.com/ocaml-community/cppo/issues"
88
depends: [
99
"ocaml" {>= "4.03"}
10-
"dune" {build & >= "1.0"}
10+
"dune" {>= "1.0"}
1111
"base-unix"
1212
]
1313
build: [

esy.lock/opam/lwt.4.2.1/opam

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ dev-repo: "git+https://github.com/ocsigen/lwt.git"
2020

2121
depends: [
2222
"cppo" {build & >= "1.1.0"}
23-
"dune" {build}
23+
"dune"
2424
"mmap" # mmap is needed as long as Lwt supports OCaml < 4.06.0.
2525
"ocaml" {>= "4.02.0"}
2626
"result" # result is needed as long as Lwt supports OCaml 4.02.

esy.lock/opam/merlin-extend.0.4/opam

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ build: [
1010
["dune" "build" "-p" name "-j" jobs]
1111
]
1212
depends: [
13-
"dune" {build}
13+
"dune"
1414
"cppo" {build}
1515
"ocaml" {>= "4.02.3"}
1616
]

esy.lock/opam/merlin.3.3.1/opam

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ build: [
1111
]
1212
depends: [
1313
"ocaml" {>= "4.02.1" & < "4.09"}
14-
"dune" {build & >= "1.8.0"}
14+
"dune" {>= "1.8.0"}
1515
"ocamlfind" {>= "1.5.2"}
1616
"yojson"
1717
"mdx" {with-test & >= "1.3.0"}

esy.lock/opam/mmap.1.1.0/opam

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ build: [
1111
]
1212
depends: [
1313
"ocaml" {>= "4.02.3"}
14-
"dune" {build & >= "1.6"}
14+
"dune" {>= "1.6"}
1515
]
1616
synopsis: "File mapping functionality"
1717
description: """

esy.lock/opam/ocaml-compiler-libs.v0.12.0/opam

-23
This file was deleted.

esy.lock/opam/ocaml-migrate-parsetree.1.4.0/opam

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ build: [
1616
depends: [
1717
"result"
1818
"ppx_derivers"
19-
"dune" {build & >= "1.9.0"}
19+
"dune" {>= "1.9.0"}
2020
"ocaml" {>= "4.02.3"}
2121
]
2222
synopsis: "Convert OCaml parsetrees between different versions"

esy.lock/opam/ocamlformat.0.10/opam

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ depends: [
2121
"base" {>= "v0.11.0"}
2222
"base-unix"
2323
"cmdliner"
24-
"dune" {build & >= "1.1.1"}
24+
"dune" {>= "1.1.1"}
2525
"fpath"
2626
"ocaml-migrate-parsetree" {>= "1.3.1"}
2727
"octavius" {>= "1.2.0"}

esy.lock/opam/ppx_derivers.1.2.1/opam

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ build: [
1010
]
1111
depends: [
1212
"ocaml"
13-
"dune" {build}
13+
"dune"
1414
]
1515
synopsis: "Shared [@@deriving] plugin registry"
1616
description: """

esy.lock/opam/ppx_deriving.4.4/opam

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ build: [
1414
["dune" "build" "@doc" "-p" name "-j" jobs] {with-doc}
1515
]
1616
depends: [
17-
"dune" {build >= "1.6.3"}
17+
"dune" {>= "1.6.3"}
1818
"cppo" {build}
1919
"ppxfind" {build}
2020
"ocaml-migrate-parsetree"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
opam-version: "2.0"
2+
maintainer: "whitequark <[email protected]>"
3+
authors: [ "whitequark <[email protected]>" ]
4+
license: "MIT"
5+
homepage: "https://github.com/whitequark/ppx_deriving_yojson"
6+
bug-reports: "https://github.com/whitequark/ppx_deriving_yojson/issues"
7+
dev-repo: "git://github.com/whitequark/ppx_deriving_yojson.git"
8+
tags: [ "syntax" "json" ]
9+
build: [
10+
["dune" "subst"] {pinned}
11+
["dune" "build" "-p" name "-j" jobs]
12+
["dune" "runtest" "-p" name] {with-test}
13+
]
14+
depends: [
15+
"ocaml" {>= "4.04.0" & < "4.09.0"}
16+
"yojson" {>= "1.6.0" & < "2.0.0"}
17+
"result"
18+
"ppx_deriving" {>= "4.0" & < "5.0"}
19+
"ppx_tools" {build}
20+
"ppxfind" {build}
21+
"dune" {>= "1.2"}
22+
"cppo" {build}
23+
"ounit" {with-test & >= "2.0.0"}
24+
]
25+
conflicts: [
26+
"ppx_deriving" {= "4.2"}
27+
]
28+
synopsis: "JSON codec generator for OCaml"
29+
description: """
30+
ppx_deriving_yojson is a ppx_deriving plugin that provides
31+
a JSON codec generator."""
32+
url {
33+
src: "https://github.com/ocaml-ppx/ppx_deriving_yojson/archive/v3.5.1.tar.gz"
34+
checksum: "sha256=aefe9c673f2f0ee2beb9edcca5a4e332a9fe9266c81bc554b8df5cd375568994"
35+
}

esy.lock/opam/ppx_sexp_conv.v0.12.0/opam

-26
This file was deleted.

esy.lock/opam/ppxfind.1.3/opam

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ build: [
1010
["dune" "build" "-p" name "-j" jobs]
1111
]
1212
depends: [
13-
"dune" {build & >= "1.0"}
13+
"dune" {>= "1.0"}
1414
"ocaml-migrate-parsetree"
1515
"ocamlfind"
1616
"ocaml" {>= "4.02.3"}

esy.lock/opam/ppxlib.0.8.0/opam

-42
This file was deleted.

esy.lock/opam/re.1.9.0/opam

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ build: [
2121

2222
depends: [
2323
"ocaml" {>= "4.02"}
24-
"dune" {build}
24+
"dune"
2525
"ounit" {with-test}
2626
"seq"
2727
]

esy.lock/opam/result.1.4/opam

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ license: "BSD3"
88
build: [["dune" "build" "-p" name "-j" jobs]]
99
depends: [
1010
"ocaml"
11-
"dune" {build & >= "1.0"}
11+
"dune" {>= "1.0"}
1212
]
1313
synopsis: "Compatibility Result module"
1414
description: """

esy.lock/opam/sexplib0.v0.12.0/opam

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ build: [
1111
]
1212
depends: [
1313
"ocaml" {>= "4.04.2"}
14-
"dune" {build & >= "1.5.1"}
14+
"dune" {>= "1.5.1"}
1515
]
1616
synopsis: "Library containing the definition of S-expressions and some base converters"
1717
description: "

esy.lock/opam/stdio.v0.12.0/opam

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ build: [
1212
depends: [
1313
"ocaml" {>= "4.04.2"}
1414
"base" {>= "v0.12" & < "v0.13"}
15-
"dune" {build & >= "1.5.1"}
15+
"dune" {>= "1.5.1"}
1616
]
1717
synopsis: "Standard IO library for OCaml"
1818
description: "

esy.lock/opam/stdlib-shims.0.1.0/opam

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ bug-reports: "https://github.com/ocaml/stdlib-shims/issues"
88
tags: ["stdlib" "compatibility" "org:ocaml"]
99
license: ["typeof OCaml system"]
1010
depends: [
11-
"dune" {build}
11+
"dune"
1212
"ocaml" {>= "4.02.3"}
1313
]
1414
build: [ "dune" "build" "-p" name "-j" jobs ]

esy.lock/opam/stringext.1.6.0/opam

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ homepage: "https://github.com/rgrinberg/stringext"
66
bug-reports: "https://github.com/rgrinberg/stringext/issues"
77
depends: [
88
"ocaml" {>= "4.02.3"}
9-
"dune" {build & >= "1.0"}
9+
"dune" {>= "1.0"}
1010
"ounit" {with-test}
1111
"qtest" {with-test & >= "2.2"}
1212
"base-bytes"

esy.lock/opam/uri.2.2.1/opam esy.lock/opam/uri.3.0.0/opam

+5-6
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,10 @@ for parsing URI or URLs.
1414
"""
1515
depends: [
1616
"ocaml" {>= "4.04.0"}
17-
"dune" {build & >= "1.2.0"}
17+
"dune" {>= "1.2.0"}
1818
"ounit" {with-test & >= "1.0.2"}
19-
"ppx_sexp_conv" {build & >= "v0.9.0"}
19+
"ppx_sexp_conv" {with-test & >= "v0.9.0"}
2020
"re" {>= "1.9.0"}
21-
"sexplib0"
2221
"stringext" {>= "1.4.0"}
2322
]
2423
build: [
@@ -28,9 +27,9 @@ build: [
2827
]
2928
url {
3029
src:
31-
"https://github.com/mirage/ocaml-uri/releases/download/v2.2.1/uri-v2.2.1.tbz"
30+
"https://github.com/mirage/ocaml-uri/releases/download/v3.0.0/uri-v3.0.0.tbz"
3231
checksum: [
33-
"sha256=f6348edbae9b9011b3f65e85e775f2cf7b87735c5ceb54d6962377daec3bf56b"
34-
"sha512=28a4a659695d5d02f8a1b2965cbb05bc864bea5576c447707bb7db0e7411cafc78323ba6729e32b8b31fdc24a53e906274812d377e62829ebc9ebd6602331176"
32+
"sha256=8fb334fba6ebbf879e2e82d80d6adee8bdaf6cec3bb3da248110d805477d19fa"
33+
"sha512=553c18032a7c96cccdc8e37f497ce34e821b9dd089cfc8685783b7ade1d4dfa422722e4724abcba8b1171b51fa91a2bee297396fc7c349118069b6352e07881e"
3534
]
3635
}

esy.lock/opam/yojson.1.7.0/opam

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ build: [
1212
run-test: [["dune" "runtest" "-p" name "-j" jobs]]
1313
depends: [
1414
"ocaml" {>= "4.02.3"}
15-
"dune" {build}
15+
"dune"
1616
"cppo" {build}
1717
"easy-format"
1818
"biniou" {>= "1.2.0"}

0 commit comments

Comments
 (0)