diff options
-rw-r--r-- | pkgs/applications/video/mpv/scripts/mpv-cheatsheet.nix | 8 | ||||
-rw-r--r-- | pkgs/applications/video/mpv/scripts/mpv-slicing.nix | 2 |
2 files changed, 9 insertions, 1 deletions
diff --git a/pkgs/applications/video/mpv/scripts/mpv-cheatsheet.nix b/pkgs/applications/video/mpv/scripts/mpv-cheatsheet.nix index 56013b1fceeb..a15f54d01ef2 100644 --- a/pkgs/applications/video/mpv/scripts/mpv-cheatsheet.nix +++ b/pkgs/applications/video/mpv/scripts/mpv-cheatsheet.nix @@ -1,4 +1,9 @@ -{ lib, fetchFromGitHub, nodePackages, stdenvNoCC }: +{ lib +, fetchFromGitHub +, gitUpdater +, nodePackages +, stdenvNoCC +}: stdenvNoCC.mkDerivation (finalAttrs: { pname = "mpv-cheatsheet"; version = "0.30.0.2"; @@ -9,6 +14,7 @@ stdenvNoCC.mkDerivation (finalAttrs: { rev = "v${finalAttrs.version}"; hash = "sha256-MWK0CYto3zgn3fivmL43tvgZn6XrjPxKLp0lgTFdplM="; }; + passthru.updateScript = gitUpdater { rev-prefix = "v"; }; nativeBuildInputs = [ nodePackages.browserify diff --git a/pkgs/applications/video/mpv/scripts/mpv-slicing.nix b/pkgs/applications/video/mpv/scripts/mpv-slicing.nix index 2266c8321cb8..cf66a6c78a29 100644 --- a/pkgs/applications/video/mpv/scripts/mpv-slicing.nix +++ b/pkgs/applications/video/mpv/scripts/mpv-slicing.nix @@ -3,6 +3,7 @@ buildLua, fetchFromGitHub, ffmpeg, + unstableGitUpdater, }: buildLua { @@ -15,6 +16,7 @@ buildLua { rev = "d09c11227704c8d5bdaa2c799ef64dce881c63a7"; hash = "sha256-MKoM0f74/XoctiHQVOB3LzFWtJXpsREfQh5icaebCJo="; }; + passthru.updateScript = unstableGitUpdater { }; postPatch = '' substituteInPlace slicing.lua \ |