ocamlPackages.rio: migrate to finalAttrs

This commit is contained in:
Guy Chronister
2026-05-12 13:28:47 -05:00
parent d87fe9b014
commit 67db0f2e73
@@ -5,14 +5,14 @@
cstruct,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "rio";
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=";
};
@@ -23,8 +23,8 @@ buildDunePackage rec {
meta = {
description = "Ergonomic, composable, efficient read/write streams";
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 = [ ];
};
}
})