mpris-timer: add updateScript

This commit is contained in:
seth
2024-12-07 22:01:09 -05:00
parent fd9961b8a4
commit dbdc1cee5b
+10 -3
View File
@@ -1,14 +1,15 @@
{
lib,
alsa-lib,
buildGoModule,
fetchFromGitHub,
pkg-config,
glib,
wrapGAppsHook4,
alsa-lib,
gobject-introspection,
gtk4,
libadwaita,
nix-update-script,
pkg-config,
wrapGAppsHook4,
}:
buildGoModule rec {
@@ -21,6 +22,7 @@ buildGoModule rec {
rev = "refs/tags/${version}";
hash = "sha256-Ak9DASAfW+dOhfbQDRAZJ1YD8j5Fcpz05jlXlUG1ydo=";
};
vendorHash = "sha256-APcQgNEn7ULIjBk7f4q6MMSX9k58+F7vzgUDiIZ3Jxc=";
strictDeps = true;
@@ -42,6 +44,7 @@ buildGoModule rec {
"-s"
"-w"
];
tags = [
"wayland"
];
@@ -54,6 +57,10 @@ buildGoModule rec {
glib-compile-schemas $out/share/glib-2.0/schemas
'';
passthru = {
updateScript = nix-update-script { };
};
meta = {
description = "Timer app with seamless GNOME integration";
homepage = "https://github.com/efogdev/mpris-timer";