ocamlPackages.decoders-yojson: migrate to finalAttrs

This commit is contained in:
Guy Chronister
2026-01-21 19:29:05 -06:00
parent 47823eb0e6
commit 2b376b4ffb
@@ -7,7 +7,7 @@
ounit2,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "decoders-yojson";
# sub-package built separately from the same source
@@ -29,8 +29,8 @@ buildDunePackage rec {
meta = {
description = "Yojson backend for decoders";
homepage = "https://github.com/mattjbray/ocaml-decoders";
changelog = "https://github.com/mattjbray/ocaml-decoders/blob/${version}/CHANGES.md";
changelog = "https://github.com/mattjbray/ocaml-decoders/blob/${finalAttrs.version}/CHANGES.md";
license = lib.licenses.isc;
maintainers = with lib.maintainers; [ infinidoge ];
};
}
})