mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
waybar-mpris: fix updateScript; unstable-2022-01-27 -> 0.1.0-unstable-2022-01-27 (#350499)
This commit is contained in:
commit
c3db199ef6
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user