adlplug: add updateScript and follow versioning guidelines

This commit is contained in:
jopejoe1
2026-01-30 09:34:52 +01:00
parent 80a18658b8
commit c5b1417de9
+7 -1
View File
@@ -2,6 +2,7 @@
lib,
stdenv,
fetchFromGitHub,
unstableGitUpdater,
cmake,
pkg-config,
fmt,
@@ -36,7 +37,7 @@ let
in
stdenv.mkDerivation {
pname = "${lib.strings.toLower type}plug";
version = "unstable-2021-12-17";
version = "1.0.2-unstable-2021-12-17";
src = fetchFromGitHub {
owner = "jpcima";
@@ -112,6 +113,11 @@ stdenv.mkDerivation {
mv au/${mainProgram}.component $out/Library/Audio/Plug-Ins/Components/
'';
passthru.updateScript = unstableGitUpdater {
tagPrefix = "v";
tagFormat = "v*";
};
meta = {
inherit mainProgram;
description = "${chip} FM Chip Synthesizer";