git.iko.soy/typeable/nixpkgs
on master help sign in
mpvScripts.simple-mpv-webui: init at 1.0.0
commit5930a0ea449514cff02563326f95a1947db85d00 authorMatías Lang <matiasl@infobytesec.com> dateFri 29 May 2020, 02:56 (6 years ago) parent164985a
4 files changed+43
maintainers/maintainer-list.nix+6 pkgs/applications/video/mpv/default.nix+3 pkgs/applications/video/mpv/scripts/simple-mpv-webui.nix+33 pkgs/top-level/all-packages.nix+1
maintainers/maintainer-list.nix+6
@@ -1616,6 +1616,12 @@
16161616 githubId = 12202789;
16171617 name = "CrazedProgrammer";
16181618 };
1619+ cript0nauta = {
1620+ email = "shareman1204@gmail.com";
1621+ github = "cript0nauta";
1622+ githubId = 1222362;
1623+ name = "Matías Lang";
1624+ };
16191625 cryptix = {
16201626 email = "cryptix@riseup.net";
16211627 github = "cryptix";
pkgs/applications/video/mpv/default.nix+3
@@ -39,6 +39,9 @@
3939, libpngSupport ? true, libpng ? null
4040, pulseSupport ? config.pulseaudio or stdenv.isLinux, libpulseaudio ? null
4141, rubberbandSupport ? stdenv.isLinux, rubberband ? null
42+# NOTE: samba support should be removed on the next mpv release, see also:
43+# https://github.com/NixOS/nixpkgs/pull/89145#issuecomment-636424362
44+# Please remove this line on the next mpv release.
4245, sambaSupport ? false, samba ? null
4346, screenSaverSupport ? true, libXScrnSaver ? null
4447, sdl2Support ? true, SDL2 ? null
pkgs/applications/video/mpv/scripts/simple-mpv-webui.nixnew file+33
@@ -0,0 +1,33 @@
1+{ stdenv
2+, fetchFromGitHub }:
3+stdenv.mkDerivation rec {
4+ pname = "simple-mpv-ui";
5+ version = "1.0.0";
6+
7+ src = fetchFromGitHub {
8+ owner = "open-dynaMIX";
9+ repo = "simple-mpv-webui";
10+ rev = "v${version}";
11+ sha256 = "1glrnnl1slcl0ri0zs4j64lc9aa52p9ffh6av0d81fk95nm98917";
12+ };
13+
14+ dontBuild = true;
15+ installPhase = ''
16+ mkdir -p $out/share/mpv/scripts
17+ cp -r webui.lua webui-page $out/share/mpv/scripts/
18+ '';
19+ passthru.scriptName = "webui.lua";
20+
21+ meta = with stdenv.lib; {
22+ description = "A web based user interface with controls for the mpv mediaplayer";
23+ homepage = "https://github.com/open-dynaMIX/simple-mpv-webui";
24+ maintainers = [ maintainers.cript0nauta ];
25+ longDescription = ''
26+ You can access the webui when accessing http://127.0.0.1:8080 or
27+ http://[::1]:8080 in your webbrowser. By default it listens on
28+ 0.0.0.0:8080 and [::0]:8080
29+ '';
30+ license = licenses.mit;
31+ };
32+}
33+
pkgs/top-level/all-packages.nix+1
@@ -20967,6 +20967,7 @@ in
2096720967 mpvScripts = recurseIntoAttrs {
2096820968 convert = callPackage ../applications/video/mpv/scripts/convert.nix {};
2096920969 mpris = callPackage ../applications/video/mpv/scripts/mpris.nix {};
20970+ simple-mpv-webui = callPackage ../applications/video/mpv/scripts/simple-mpv-webui.nix {};
2097020971 };
2097120972
2097220973 mrpeach = callPackage ../applications/audio/pd-plugins/mrpeach { };