Skip to content

Commit 10bf0cd

Browse files
committed
ocamlPackages.minttea: migrate to finalAttrs
1 parent cab5611 commit 10bf0cd

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

pkgs/development/ocaml-modules/minttea/default.nix

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@
66
tty,
77
}:
88

9-
buildDunePackage rec {
9+
buildDunePackage (finalAttrs: {
1010
pname = "minttea";
1111
version = "0.0.3";
1212

1313
minimalOCamlVersion = "5.1";
1414

1515
src = fetchurl {
16-
url = "https://github.com/leostera/minttea/releases/download/${version}/minttea-${version}.tbz";
16+
url = "https://github.com/leostera/minttea/releases/download/${finalAttrs.version}/minttea-${finalAttrs.version}.tbz";
1717
hash = "sha256-WEaJVCCvsmKcF8+yzovljt8dGWaIv4UmAr74jq6Vo9M=";
1818
};
1919

@@ -25,8 +25,8 @@ buildDunePackage rec {
2525
meta = {
2626
description = "Fun, functional, and stateful way to build terminal apps in OCaml heavily inspired by Go's BubbleTea";
2727
homepage = "https://github.com/leostera/minttea";
28-
changelog = "https://github.com/leostera/minttea/blob/${version}/CHANGES.md";
28+
changelog = "https://github.com/leostera/minttea/blob/${finalAttrs.version}/CHANGES.md";
2929
license = lib.licenses.mit;
3030
maintainers = with lib.maintainers; [ sixstring982 ];
3131
};
32-
}
32+
})

0 commit comments

Comments
 (0)