mmtui: fix update script

This commit is contained in:
2kybe3
2026-05-02 19:28:04 +02:00
parent fda73327de
commit 71791c3740
+8 -1
View File
@@ -9,6 +9,8 @@ rustPlatform.buildRustPackage (finalAttrs: {
pname = "mmtui";
version = "0.2.0";
__structuredAttrs = true;
src = fetchFromGitHub {
owner = "SL-RU";
repo = "mmtui";
@@ -22,7 +24,12 @@ rustPlatform.buildRustPackage (finalAttrs: {
rustPlatform.bindgenHook
];
passthru.updateScript = nix-update-script { };
passthru.updateScript = nix-update-script {
extraArgs = [
"--version-regex"
"mmt-v(.*)"
];
};
meta = {
changelog = "https://github.com/SL-RU/mmtui/releases/tag/v${finalAttrs.version}";