depot/third_party/nixpkgs/pkgs/applications/video/mpv-shim-default-shaders/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

29 lines
730 B
Nix

{ 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 ];
};
}