mpvScripts.mpris: Add updateScript

This commit is contained in:
nicoo 2023-12-09 19:46:36 +00:00
parent b0a5637c9e
commit 66a1cca952

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, pkg-config, glib, mpv-unwrapped, ffmpeg }:
{ lib, stdenv, fetchFromGitHub, gitUpdater, pkg-config, glib, mpv-unwrapped, ffmpeg }:
stdenv.mkDerivation rec {
pname = "mpv-mpris";
@ -10,6 +10,7 @@ stdenv.mkDerivation rec {
rev = version;
hash = "sha256-vZIO6ILatIWa9nJYOp4AMKwvaZLahqYWRLMDOizyBI0=";
};
passthru.updateScript = gitUpdater {};
nativeBuildInputs = [ pkg-config ];