Loading pkgs/applications/video/mpv-shim-default-shaders/default.nix 0 → 100644 +29 −0 Original line number Diff line number Diff line { lib, stdenv, fetchFromGitHub }: stdenv.mkDerivation rec { pname = "mpv-shim-default-shaders"; version = "2.1.0"; src = fetchFromGitHub { owner = "iwalton3"; repo = "default-shader-pack"; rev = "v${version}"; sha256 = "sha256-BM2GvmUoWQUUMH464YIIqu5A1t1B+otbJxAGFbySuq8="; }; installPhase = '' mkdir -p $out/share/${pname} cp -r shaders *.json $out/share/${pname} ''; meta = with lib; { homepage = "https://github.com/iwalton3/default-shader-pack"; description = "Preconfigured set of MPV shaders and configurations for MPV Shim media clients."; license = with licenses; [ gpl3Plus mit unlicense ]; maintainers = with maintainers; [ devusb ]; }; } pkgs/applications/video/plex-mpv-shim/default.nix +9 −2 Original line number Diff line number Diff line { lib, buildPythonApplication, fetchFromGitHub, mpv, requests, python-mpv-jsonipc, pystray, tkinter , wrapGAppsHook, gobject-introspection }: { lib, buildPythonApplication, fetchFromGitHub, python, mpv, requests, python-mpv-jsonipc, pystray, tkinter , wrapGAppsHook, gobject-introspection, mpv-shim-default-shaders }: buildPythonApplication rec { pname = "plex-mpv-shim"; Loading @@ -25,12 +25,19 @@ buildPythonApplication rec { ''; dontWrapGApps = true; postInstall = '' # put link to shaders where upstream package expects them ln -s ${mpv-shim-default-shaders}/share/mpv-shim-default-shaders $out/${python.sitePackages}/plex_mpv_shim/default_shader_pack ''; # does not contain tests doCheck = false; meta = with lib; { homepage = "https://github.com/iwalton3/plex-mpv-shim"; description = "Allows casting of videos to MPV via the Plex mobile and web app"; maintainers = with maintainers; [ devusb ]; license = licenses.mit; platforms = platforms.linux; }; } pkgs/top-level/all-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -32714,6 +32714,8 @@ with pkgs; open-in-mpv = callPackage ../applications/video/open-in-mpv { }; mpv-shim-default-shaders = callPackage ../applications/video/mpv-shim-default-shaders { }; mrpeach = callPackage ../applications/audio/pd-plugins/mrpeach { }; mtpaint = callPackage ../applications/graphics/mtpaint { }; Loading
pkgs/applications/video/mpv-shim-default-shaders/default.nix 0 → 100644 +29 −0 Original line number Diff line number Diff line { lib, stdenv, fetchFromGitHub }: stdenv.mkDerivation rec { pname = "mpv-shim-default-shaders"; version = "2.1.0"; src = fetchFromGitHub { owner = "iwalton3"; repo = "default-shader-pack"; rev = "v${version}"; sha256 = "sha256-BM2GvmUoWQUUMH464YIIqu5A1t1B+otbJxAGFbySuq8="; }; installPhase = '' mkdir -p $out/share/${pname} cp -r shaders *.json $out/share/${pname} ''; meta = with lib; { homepage = "https://github.com/iwalton3/default-shader-pack"; description = "Preconfigured set of MPV shaders and configurations for MPV Shim media clients."; license = with licenses; [ gpl3Plus mit unlicense ]; maintainers = with maintainers; [ devusb ]; }; }
pkgs/applications/video/plex-mpv-shim/default.nix +9 −2 Original line number Diff line number Diff line { lib, buildPythonApplication, fetchFromGitHub, mpv, requests, python-mpv-jsonipc, pystray, tkinter , wrapGAppsHook, gobject-introspection }: { lib, buildPythonApplication, fetchFromGitHub, python, mpv, requests, python-mpv-jsonipc, pystray, tkinter , wrapGAppsHook, gobject-introspection, mpv-shim-default-shaders }: buildPythonApplication rec { pname = "plex-mpv-shim"; Loading @@ -25,12 +25,19 @@ buildPythonApplication rec { ''; dontWrapGApps = true; postInstall = '' # put link to shaders where upstream package expects them ln -s ${mpv-shim-default-shaders}/share/mpv-shim-default-shaders $out/${python.sitePackages}/plex_mpv_shim/default_shader_pack ''; # does not contain tests doCheck = false; meta = with lib; { homepage = "https://github.com/iwalton3/plex-mpv-shim"; description = "Allows casting of videos to MPV via the Plex mobile and web app"; maintainers = with maintainers; [ devusb ]; license = licenses.mit; platforms = platforms.linux; }; }
pkgs/top-level/all-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -32714,6 +32714,8 @@ with pkgs; open-in-mpv = callPackage ../applications/video/open-in-mpv { }; mpv-shim-default-shaders = callPackage ../applications/video/mpv-shim-default-shaders { }; mrpeach = callPackage ../applications/audio/pd-plugins/mrpeach { }; mtpaint = callPackage ../applications/graphics/mtpaint { };