mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 04:33:57 +00:00
30 lines
731 B
Nix
30 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 ];
|
|
};
|
|
}
|