Skip to content

Commit

Permalink
mpris-timer: add updateScript
Browse files Browse the repository at this point in the history
  • Loading branch information
getchoo committed Dec 8, 2024
1 parent fd9961b commit dbdc1ce
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions pkgs/by-name/mp/mpris-timer/package.nix
Original file line number Diff line number Diff line change
@@ -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 {
Expand All @@ -21,6 +22,7 @@ buildGoModule rec {
rev = "refs/tags/${version}";
hash = "sha256-Ak9DASAfW+dOhfbQDRAZJ1YD8j5Fcpz05jlXlUG1ydo=";
};

vendorHash = "sha256-APcQgNEn7ULIjBk7f4q6MMSX9k58+F7vzgUDiIZ3Jxc=";

strictDeps = true;
Expand All @@ -42,6 +44,7 @@ buildGoModule rec {
"-s"
"-w"
];

tags = [
"wayland"
];
Expand All @@ -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";
Expand Down

0 comments on commit dbdc1ce

Please sign in to comment.