adlplug: add updateScript and follow versioning guidelines (#485256)

This commit is contained in:
Cosima Neidahl
2026-01-30 11:38:47 +00:00
committed by GitHub
+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";