mpvScripts.chapterskip: Define updateScript
This commit is contained in:
parent
44f36cdc9b
commit
5b0420769e
@ -1,5 +1,6 @@
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, nix-update-script
|
||||
, stdenvNoCC }:
|
||||
|
||||
stdenvNoCC.mkDerivation {
|
||||
@ -18,6 +19,10 @@ stdenvNoCC.mkDerivation {
|
||||
preferLocalBuild = true;
|
||||
installPhase = "install -Dt $out/share/mpv/scripts chapterskip.lua";
|
||||
|
||||
passthru.updateScript = nix-update-script {
|
||||
extraArgs = [ "--version=branch" ];
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/po5/chapterskip";
|
||||
platforms = platforms.all;
|
||||
|
Loading…
Reference in New Issue
Block a user