Unverified Commit c3db199e authored by Gaétan Lepage's avatar Gaétan Lepage Committed by GitHub
Browse files

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

parents 2199bae5 447e1d0b
Loading
Loading
Loading
Loading
+7 −6
Original line number Diff line number Diff line
{ 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";