waybar-mpris: fix updateScript; unstable-2022-01-27 -> 0.1.0-unstable-2022-01-27 (#350499)

This commit is contained in:
Gaétan Lepage 2024-10-26 10:50:30 +02:00 committed by GitHub
commit c3db199ef6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,12 +1,13 @@
{ lib
, fetchgit
, buildGoModule
, unstableGitUpdater
{
lib,
fetchgit,
buildGoModule,
nix-update-script,
}:
buildGoModule {
pname = "waybar-mpris";
version = "unstable-2022-01-27";
version = "0.1.0-unstable-2022-01-27";
src = fetchgit {
url = "https://git.hrfee.pw/hrfee/waybar-mpris";
@ -21,7 +22,7 @@ buildGoModule {
"-w"
];
passthru.updateScript = unstableGitUpdater { };
passthru.updateScript = nix-update-script { extraArgs = [ "--version=branch" ]; };
meta = with lib; {
description = "Waybar component/utility for displaying and controlling MPRIS2 compliant media players individually";