Unverified Commit 6fd2f26d authored by Cosima Neidahl's avatar Cosima Neidahl Committed by GitHub
Browse files

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

parents 34ef3b34 c5b1417d
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -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";