ocamlPackages.ppx_show: migrate to finalAttrs
This commit is contained in:
@@ -6,14 +6,14 @@
|
||||
ppxlib,
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
buildDunePackage (finalAttrs: {
|
||||
pname = "ppx_show";
|
||||
version = "0.2.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "thierry-martinez";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
repo = "ppx_show";
|
||||
rev = "v${finalAttrs.version}";
|
||||
sha256 = "sha256-YwWAdOtb0zg2hqNkGRiigz/Pci8Jy/QD+WyUEohEsns=";
|
||||
};
|
||||
|
||||
@@ -23,9 +23,9 @@ buildDunePackage rec {
|
||||
];
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/thierry-martinez/${pname}";
|
||||
homepage = "https://github.com/thierry-martinez/ppx_show";
|
||||
description = "OCaml PPX deriver for deriving show based on ppxlib";
|
||||
license = lib.licenses.bsd2;
|
||||
maintainers = with lib.maintainers; [ niols ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user