ocamlPackages.mustache: migrate to finalAttrs

This commit is contained in:
Guy Chronister
2026-05-12 13:28:21 -05:00
parent ee8b9bbe5e
commit 5ac4ac91bc
@@ -8,13 +8,13 @@
ounit2,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "mustache";
version = "3.3.0";
src = fetchFromGitHub {
owner = "rgrinberg";
repo = "ocaml-mustache";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-7rdp7nrjc25/Nuj/cf78qxS3Qy4ufaNcKjSnYh4Ri8U=";
};
@@ -31,6 +31,6 @@ buildDunePackage rec {
description = "Mustache logic-less templates in OCaml";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.vbgl ];
inherit (src.meta) homepage;
inherit (finalAttrs.src.meta) homepage;
};
}
})