mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
Merge #308294: add missing updateScript
s to mpvScripts
This commit is contained in:
commit
a41a4a437d
@ -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
|
||||
|
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user