29 lines
731 B
Nix
29 lines
731 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 ];
|
|
};
|
|
}
|