Merge pull request #270920 from nbraud/mpvScripts/mpv-webm
mpvScripts.mpv-webm: unstable-2023-02-23 → 2023-11-18
This commit is contained in:
commit
66c54c2291
@ -15,7 +15,7 @@ in lib.recurseIntoAttrs
|
||||
inhibit-gnome = callPackage ./inhibit-gnome.nix { };
|
||||
mpris = callPackage ./mpris.nix { };
|
||||
mpv-playlistmanager = callPackage ./mpv-playlistmanager.nix { inherit buildLua; };
|
||||
mpv-webm = callPackage ./mpv-webm.nix { };
|
||||
mpv-webm = callPackage ./mpv-webm.nix { inherit buildLua; };
|
||||
mpvacious = callPackage ./mpvacious.nix { inherit buildLua; };
|
||||
quality-menu = callPackage ./quality-menu.nix { inherit buildLua; };
|
||||
simple-mpv-webui = callPackage ./simple-mpv-webui.nix { inherit buildLua; };
|
||||
|
@ -1,30 +1,28 @@
|
||||
{ lib
|
||||
, stdenvNoCC
|
||||
, buildLua
|
||||
, fetchFromGitHub
|
||||
, luaPackages
|
||||
, nix-update-script
|
||||
}:
|
||||
|
||||
stdenvNoCC.mkDerivation {
|
||||
buildLua {
|
||||
pname = "mpv-webm";
|
||||
version = "unstable-2023-02-23";
|
||||
version = "unstable-2023-11-18";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ekisu";
|
||||
repo = "mpv-webm";
|
||||
rev = "a18375932e39e9b2a40d9c7ab52ea367b41e2558";
|
||||
hash = "sha256-aetkQ1gU/6Yys5FJS/N06ED9tCSvL6BAgUGdNmNmpbU=";
|
||||
rev = "6b5863f68275b3dc91c2507284c039ec8a4cbd97";
|
||||
hash = "sha256-rJamBm6FyxWcJO7VXXOUTO9piWCkPfEVdqGKGeJ/h0c=";
|
||||
};
|
||||
|
||||
dontBuild = false;
|
||||
nativeBuildInputs = [ luaPackages.moonscript ];
|
||||
scriptPath = "build/webm.lua";
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
mkdir -p $out/share/mpv/scripts
|
||||
install -m 644 build/webm.lua $out/share/mpv/scripts/
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
passthru.scriptName = "webm.lua";
|
||||
passthru.updateScript = nix-update-script {
|
||||
extraArgs = [ "--version=branch" ];
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Simple WebM maker for mpv, with no external dependencies";
|
||||
|
Loading…
Reference in New Issue
Block a user