ocamlPackages.omd: migrate to finalAttrs

This commit is contained in:
Guy Chronister
2026-05-12 13:28:28 -05:00
parent 1cbe36d2b6
commit 41c3df1d21
@@ -4,14 +4,14 @@
fetchurl,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "omd";
version = "1.3.2";
minimalOCamlVersion = "4.03";
src = fetchurl {
url = "https://github.com/ocaml/omd/releases/download/${version}/omd-${version}.tbz";
url = "https://github.com/ocaml/omd/releases/download/${finalAttrs.version}/omd-${finalAttrs.version}.tbz";
sha256 = "sha256-YCPhZCYx8I9njrVyWCCHnte7Wj/+53fN7evCjB+F+ts=";
};
@@ -26,4 +26,4 @@ buildDunePackage rec {
maintainers = [ lib.maintainers.vbgl ];
mainProgram = "omd";
};
}
})