From 10bf0cd38b56ac2e2472ecca19777bdfe8469bd8 Mon Sep 17 00:00:00 2001 From: Guy Chronister Date: Thu, 22 Jan 2026 10:14:29 -0600 Subject: [PATCH] ocamlPackages.minttea: migrate to finalAttrs --- pkgs/development/ocaml-modules/minttea/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/ocaml-modules/minttea/default.nix b/pkgs/development/ocaml-modules/minttea/default.nix index 3685f2d459b4..0d6bf937993d 100644 --- a/pkgs/development/ocaml-modules/minttea/default.nix +++ b/pkgs/development/ocaml-modules/minttea/default.nix @@ -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 ]; }; -} +})