2023-07-15 17:15:38 +00:00
|
|
|
{ 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";
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Preconfigured set of MPV shaders and configurations for MPV Shim media clients";
|
2023-07-15 17:15:38 +00:00
|
|
|
license = with licenses; [
|
|
|
|
gpl3Plus
|
|
|
|
mit
|
|
|
|
unlicense
|
|
|
|
];
|
|
|
|
maintainers = with maintainers; [ devusb ];
|
|
|
|
};
|
|
|
|
}
|