9c6ee729d6
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
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 ];
|
|
};
|
|
}
|