ocamlPackages.diet: migrate to finalAttrs

This commit is contained in:
Guy Chronister
2026-01-21 19:29:07 -06:00
parent 3e059aecbd
commit 50bf711063
@@ -7,12 +7,12 @@
ounit,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "diet";
version = "0.4";
src = fetchurl {
url = "https://github.com/mirage/ocaml-diet/releases/download/v${version}/diet-v${version}.tbz";
url = "https://github.com/mirage/ocaml-diet/releases/download/v${finalAttrs.version}/diet-v${finalAttrs.version}.tbz";
sha256 = "96acac2e4fdedb5f47dd8ad2562e723d85ab59cd1bd85554df21ec907b071741";
};
@@ -28,4 +28,4 @@ buildDunePackage rec {
description = "Simple implementation of Discrete Interval Encoding Trees";
license = lib.licenses.isc;
};
}
})