ocamlPackages.yojson: 2.2.2 → 3.0.0

ocamlPackages.atdgen-codec-runtime: 2.16.0 → 3.0.1
This commit is contained in:
Vincent Laporte
2025-12-12 06:35:52 +01:00
parent 6d8ef853bd
commit eec6d815c9
20 changed files with 150 additions and 50 deletions
@@ -1,5 +1,6 @@
{
buildDunePackage,
fetchpatch,
github,
cohttp,
cohttp-lwt-unix,
@@ -12,6 +13,14 @@ buildDunePackage {
pname = "github-unix";
inherit (github) version src;
patches = [
# Compatibility with yojson 3.0
(fetchpatch {
url = "https://github.com/mirage/ocaml-github/commit/487d7d413363921a8ffbb941610c2f71c811add8.patch";
hash = "sha256-ThCsWRQKmlRg7rk8tlorsO87v8RWnBvocHDvgg/WWMA=";
})
];
postPatch = ''
substituteInPlace unix/dune --replace 'github bytes' 'github'
'';