diff --git a/pkgs/applications/video/mpv-shim-default-shaders/default.nix b/pkgs/applications/video/mpv-shim-default-shaders/default.nix new file mode 100644 index 00000000000..eb6c81f6358 --- /dev/null +++ b/pkgs/applications/video/mpv-shim-default-shaders/default.nix @@ -0,0 +1,29 @@ +{ 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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index d256beaaa2e..ae4e9e41e49 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -32533,6 +32533,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 { };