ocamlPackages.ppx_derivers: migrate to finalAttrs

This commit is contained in:
Guy Chronister
2026-01-22 12:08:58 -06:00
parent 8933c5072b
commit 50de546f14
@@ -4,7 +4,7 @@
buildDunePackage,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "ppx_derivers";
version = "1.2.1";
@@ -12,8 +12,8 @@ buildDunePackage rec {
src = fetchFromGitHub {
owner = "diml";
repo = pname;
rev = version;
repo = "ppx_derivers";
rev = finalAttrs.version;
sha256 = "0yqvqw58hbx1a61wcpbnl9j30n495k23qmyy2xwczqs63mn2nkpn";
};
@@ -21,6 +21,6 @@ buildDunePackage rec {
description = "Shared [@@deriving] plugin registry";
license = lib.licenses.bsd3;
maintainers = [ lib.maintainers.vbgl ];
inherit (src.meta) homepage;
inherit (finalAttrs.src.meta) homepage;
};
}
})