mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
mpvScripts.mpv-playlistmanager: init at c15a033 (09-03-2021)
This commit is contained in:
parent
35398a3eb9
commit
388c01875c
37
pkgs/applications/video/mpv/scripts/mpv-playlistmanager.nix
Normal file
37
pkgs/applications/video/mpv/scripts/mpv-playlistmanager.nix
Normal file
@ -0,0 +1,37 @@
|
||||
{ lib, stdenvNoCC, fetchFromGitHub, youtube-dl }:
|
||||
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "mpv-playlistmanager";
|
||||
version = "unstable-2021-03-09";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jonniek";
|
||||
repo = "mpv-playlistmanager";
|
||||
rev = "c15a0334cf6d4581882fa31ddb1e6e7f2d937a3e";
|
||||
sha256 = "uxcvgcSGS61UU8MmuD6qMRqpIa53iasH/vkg1xY7MVc=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace playlistmanager.lua \
|
||||
--replace "'youtube-dl'" "'${youtube-dl}/bin/youtube-dl'" \
|
||||
'';
|
||||
|
||||
dontBuild = true;
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
mkdir -p $out/share/mpv/scripts
|
||||
cp playlistmanager.lua $out/share/mpv/scripts
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
passthru.scriptName = "playlistmanager.lua";
|
||||
|
||||
meta = with lib; {
|
||||
description = "Mpv lua script to create and manage playlists";
|
||||
homepage = "https://github.com/jonniek/mpv-playlistmanager";
|
||||
license = licenses.unlicense;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ lunik1 ];
|
||||
};
|
||||
}
|
@ -24623,6 +24623,7 @@ in
|
||||
autoload = callPackage ../applications/video/mpv/scripts/autoload.nix {};
|
||||
convert = callPackage ../applications/video/mpv/scripts/convert.nix {};
|
||||
mpris = callPackage ../applications/video/mpv/scripts/mpris.nix {};
|
||||
mpv-playlistmanager = callPackage ../applications/video/mpv/scripts/mpv-playlistmanager.nix {};
|
||||
mpvacious = callPackage ../applications/video/mpv/scripts/mpvacious.nix {};
|
||||
simple-mpv-webui = callPackage ../applications/video/mpv/scripts/simple-mpv-webui.nix {};
|
||||
sponsorblock = callPackage ../applications/video/mpv/scripts/sponsorblock.nix {};
|
||||
|
Loading…
Reference in New Issue
Block a user