Merge pull request #89262 from cript0nauta/simple-mpv-ui
mpvScripts.simple-mpv-webui: init at 1.0.0
This commit is contained in:
commit
0a63b5ae34
@ -1616,6 +1616,12 @@
|
|||||||
githubId = 12202789;
|
githubId = 12202789;
|
||||||
name = "CrazedProgrammer";
|
name = "CrazedProgrammer";
|
||||||
};
|
};
|
||||||
|
cript0nauta = {
|
||||||
|
email = "shareman1204@gmail.com";
|
||||||
|
github = "cript0nauta";
|
||||||
|
githubId = 1222362;
|
||||||
|
name = "Matías Lang";
|
||||||
|
};
|
||||||
cryptix = {
|
cryptix = {
|
||||||
email = "cryptix@riseup.net";
|
email = "cryptix@riseup.net";
|
||||||
github = "cryptix";
|
github = "cryptix";
|
||||||
|
@ -39,7 +39,10 @@
|
|||||||
, libpngSupport ? true, libpng ? null
|
, libpngSupport ? true, libpng ? null
|
||||||
, pulseSupport ? config.pulseaudio or stdenv.isLinux, libpulseaudio ? null
|
, pulseSupport ? config.pulseaudio or stdenv.isLinux, libpulseaudio ? null
|
||||||
, rubberbandSupport ? stdenv.isLinux, rubberband ? null
|
, rubberbandSupport ? stdenv.isLinux, rubberband ? null
|
||||||
, sambaSupport ? stdenv.isLinux, samba ? null
|
# NOTE: samba support should be removed on the next mpv release, see also:
|
||||||
|
# https://github.com/NixOS/nixpkgs/pull/89145#issuecomment-636424362
|
||||||
|
# Please remove this line on the next mpv release.
|
||||||
|
, sambaSupport ? false, samba ? null
|
||||||
, screenSaverSupport ? true, libXScrnSaver ? null
|
, screenSaverSupport ? true, libXScrnSaver ? null
|
||||||
, sdl2Support ? true, SDL2 ? null
|
, sdl2Support ? true, SDL2 ? null
|
||||||
, sndioSupport ? true, sndio ? null
|
, sndioSupport ? true, sndio ? null
|
||||||
|
33
pkgs/applications/video/mpv/scripts/simple-mpv-webui.nix
Normal file
33
pkgs/applications/video/mpv/scripts/simple-mpv-webui.nix
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
{ stdenv
|
||||||
|
, fetchFromGitHub }:
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "simple-mpv-ui";
|
||||||
|
version = "1.0.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "open-dynaMIX";
|
||||||
|
repo = "simple-mpv-webui";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "1glrnnl1slcl0ri0zs4j64lc9aa52p9ffh6av0d81fk95nm98917";
|
||||||
|
};
|
||||||
|
|
||||||
|
dontBuild = true;
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out/share/mpv/scripts
|
||||||
|
cp -r webui.lua webui-page $out/share/mpv/scripts/
|
||||||
|
'';
|
||||||
|
passthru.scriptName = "webui.lua";
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "A web based user interface with controls for the mpv mediaplayer";
|
||||||
|
homepage = "https://github.com/open-dynaMIX/simple-mpv-webui";
|
||||||
|
maintainers = [ maintainers.cript0nauta ];
|
||||||
|
longDescription = ''
|
||||||
|
You can access the webui when accessing http://127.0.0.1:8080 or
|
||||||
|
http://[::1]:8080 in your webbrowser. By default it listens on
|
||||||
|
0.0.0.0:8080 and [::0]:8080
|
||||||
|
'';
|
||||||
|
license = licenses.mit;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -21064,6 +21064,7 @@ in
|
|||||||
mpvScripts = recurseIntoAttrs {
|
mpvScripts = recurseIntoAttrs {
|
||||||
convert = callPackage ../applications/video/mpv/scripts/convert.nix {};
|
convert = callPackage ../applications/video/mpv/scripts/convert.nix {};
|
||||||
mpris = callPackage ../applications/video/mpv/scripts/mpris.nix {};
|
mpris = callPackage ../applications/video/mpv/scripts/mpris.nix {};
|
||||||
|
simple-mpv-webui = callPackage ../applications/video/mpv/scripts/simple-mpv-webui.nix {};
|
||||||
};
|
};
|
||||||
|
|
||||||
mrpeach = callPackage ../applications/audio/pd-plugins/mrpeach { };
|
mrpeach = callPackage ../applications/audio/pd-plugins/mrpeach { };
|
||||||
|
Loading…
Reference in New Issue
Block a user