Skip to content

Commit

Permalink
Merge #308294: add missing updateScripts to mpvScripts
Browse files Browse the repository at this point in the history
  • Loading branch information
nbraud authored May 2, 2024
2 parents e32981a + 3d2e953 commit a41a4a4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 7 additions & 1 deletion pkgs/applications/video/mpv/scripts/mpv-cheatsheet.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
{ lib, fetchFromGitHub, nodePackages, stdenvNoCC }:
{ lib
, fetchFromGitHub
, gitUpdater
, nodePackages
, stdenvNoCC
}:
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "mpv-cheatsheet";
version = "0.30.0.2";
Expand All @@ -9,6 +14,7 @@ stdenvNoCC.mkDerivation (finalAttrs: {
rev = "v${finalAttrs.version}";
hash = "sha256-MWK0CYto3zgn3fivmL43tvgZn6XrjPxKLp0lgTFdplM=";
};
passthru.updateScript = gitUpdater { rev-prefix = "v"; };

nativeBuildInputs = [
nodePackages.browserify
Expand Down
2 changes: 2 additions & 0 deletions pkgs/applications/video/mpv/scripts/mpv-slicing.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
buildLua,
fetchFromGitHub,
ffmpeg,
unstableGitUpdater,
}:

buildLua {
Expand All @@ -15,6 +16,7 @@ buildLua {
rev = "d09c11227704c8d5bdaa2c799ef64dce881c63a7";
hash = "sha256-MKoM0f74/XoctiHQVOB3LzFWtJXpsREfQh5icaebCJo=";
};
passthru.updateScript = unstableGitUpdater { };

postPatch = ''
substituteInPlace slicing.lua \
Expand Down

0 comments on commit a41a4a4

Please sign in to comment.