ocamlPackages.ppx_derivers: migrate to finalAttrs
This commit is contained in:
@@ -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;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user