ocamlPackages.riot: migrate to finalAttrs

This commit is contained in:
Guy Chronister
2026-01-22 12:09:20 -06:00
parent 67db0f2e73
commit 483eba44cd
@@ -12,14 +12,14 @@
tls,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "riot";
version = "0.0.8";
minimalOCamlVersion = "5.1";
src = fetchurl {
url = "https://github.com/leostera/riot/releases/download/${version}/riot-${version}.tbz";
url = "https://github.com/leostera/riot/releases/download/${finalAttrs.version}/riot-${finalAttrs.version}.tbz";
hash = "sha256-SsiDz53b9bMIT9Q3IwDdB3WKy98WSd9fiieU41qZpeE=";
};
@@ -45,9 +45,9 @@ buildDunePackage rec {
meta = {
description = "Actor-model multi-core scheduler for OCaml 5";
homepage = "https://github.com/leostera/riot";
changelog = "https://github.com/leostera/riot/blob/${version}/CHANGES.md";
changelog = "https://github.com/leostera/riot/blob/${finalAttrs.version}/CHANGES.md";
license = lib.licenses.mit;
maintainers = [ ];
broken = true; # Not compatible with mirage-crypto ≥ 1.0
};
}
})