ocamlPackages.minttea: migrate to finalAttrs

This commit is contained in:
Guy Chronister
2026-01-22 10:14:29 -06:00
parent cab561198f
commit 10bf0cd38b
@@ -6,14 +6,14 @@
tty,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
pname = "minttea";
version = "0.0.3";
minimalOCamlVersion = "5.1";
src = fetchurl {
url = "https://github.com/leostera/minttea/releases/download/${version}/minttea-${version}.tbz";
url = "https://github.com/leostera/minttea/releases/download/${finalAttrs.version}/minttea-${finalAttrs.version}.tbz";
hash = "sha256-WEaJVCCvsmKcF8+yzovljt8dGWaIv4UmAr74jq6Vo9M=";
};
@@ -25,8 +25,8 @@ buildDunePackage rec {
meta = {
description = "Fun, functional, and stateful way to build terminal apps in OCaml heavily inspired by Go's BubbleTea";
homepage = "https://github.com/leostera/minttea";
changelog = "https://github.com/leostera/minttea/blob/${version}/CHANGES.md";
changelog = "https://github.com/leostera/minttea/blob/${finalAttrs.version}/CHANGES.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ sixstring982 ];
};
}
})