diff options
author | nicoo <nicoo@mur.at> | 2024-05-01 14:15:47 +0000 |
---|---|---|
committer | nicoo <nicoo@mur.at> | 2024-05-01 14:17:39 +0000 |
commit | 4b5878033b857ac9528e37af9059ef3babd973d8 (patch) | |
tree | 122882c603a08ffe701838d5a22f69745f481b44 /pkgs/applications/video/mpv/scripts | |
parent | 211cb102a2f64355396dfeae4e16ac9a37ba5b03 (diff) |
mpvScripts.mpv-cheatsheet: add `updateScript`
Diffstat (limited to 'pkgs/applications/video/mpv/scripts')
-rw-r--r-- | pkgs/applications/video/mpv/scripts/mpv-cheatsheet.nix | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/pkgs/applications/video/mpv/scripts/mpv-cheatsheet.nix b/pkgs/applications/video/mpv/scripts/mpv-cheatsheet.nix index 56013b1fceeb4..a15f54d01ef22 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 |