ocamlPackages.linenoise: migrate to finalAttrs

This commit is contained in:
Guy Chronister
2026-05-12 13:36:44 -05:00
parent fbb1f576d3
commit ddbacd27ed
@@ -5,7 +5,7 @@
result,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "linenoise";
version = "1.5.1";
@@ -13,8 +13,8 @@ buildDunePackage rec {
src = fetchFromGitHub {
owner = "fxfactorial";
repo = "ocaml-${pname}";
rev = "v${version}";
repo = "ocaml-linenoise";
rev = "v${finalAttrs.version}";
sha256 = "sha256-yWBWMbk1anXaF4hIakTOcRZFCYmxI0xG3bHFFOAyEDA=";
};
@@ -24,6 +24,6 @@ buildDunePackage rec {
description = "OCaml bindings to linenoise";
license = lib.licenses.bsd3;
maintainers = [ lib.maintainers.vbgl ];
inherit (src.meta) homepage;
inherit (finalAttrs.src.meta) homepage;
};
}
})