meta: Allow the playback of Bluray disks
This commit is contained in:
@@ -25,6 +25,7 @@ in {
|
||||
evdev-proxy = prev.callPackage ./tools/virtualisation/evdev-proxy {};
|
||||
virtiofsd = prev.callPackage ./tools/virtualisation/virtiofsd {};
|
||||
anime4k = prev.callPackage ./misc/video/anime4k {};
|
||||
mpv-shader-pack = prev.callPackage ./misc/video/mpv-shader-pack {};
|
||||
anime-dl = prev.callPackage ./tools/video/animedl {
|
||||
pySmartDL = pySmartDL;
|
||||
cfscrape = cfscrape;
|
||||
|
||||
@@ -16,10 +16,10 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A High-Quality Real Time Upscaler for Anime Video ";
|
||||
homepage = "A High-Quality Real Time Upscaler for Anime Video ";
|
||||
description = "A High-Quality Real Time Upscaler for Anime Video";
|
||||
homepage = "https://bloc97.github.io/Anime4K/";
|
||||
license = licenses.mit;
|
||||
maintainers = [ ];
|
||||
platforms = platforms.linux;
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
|
||||
25
packages/misc/video/mpv-prescalers/default.nix
Normal file
25
packages/misc/video/mpv-prescalers/default.nix
Normal file
@@ -0,0 +1,25 @@
|
||||
{ stdenv, lib, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mpv-prescalers";
|
||||
version = "20211110";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bjin";
|
||||
repo = "mpv-prescalers";
|
||||
rev = "cc02ed95c1fe05b72bc21d41257c4c085e6e409b";
|
||||
sha256 = "1gc1ka9i7xzxq58175q5svhvp8vr27hy477r4z4nkhp9q1cqj19d";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
find . -type f -iname '*.hook' -exec install -Dm 644 {} -t $out/usr/share/shaders/ \;
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "prescalers for mpv, as user shaders";
|
||||
homepage = "https://github.com/bjin/mpv-prescalers";
|
||||
license = licenses.gpl3;
|
||||
maintainers = [ ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
30
packages/misc/video/mpv-shader-pack/default.nix
Normal file
30
packages/misc/video/mpv-shader-pack/default.nix
Normal file
@@ -0,0 +1,30 @@
|
||||
{ stdenv, lib, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mpv-shader-pack";
|
||||
version = "2.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "iwalton3";
|
||||
repo = "default-shader-pack";
|
||||
rev = "v${version}";
|
||||
sha256 = "10383h2qq35whj3v1vs34yyqiflxjf1vlv2p4l6jrmljwpjpcj4k";
|
||||
};
|
||||
|
||||
buildPhase = ''
|
||||
# Packaged by the anime4k package
|
||||
rm shaders/Anime4K_*.glsl
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
find ./shaders -type f -exec install -Dm 644 {} -t $out/usr/share/shaders/ \;
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Preconfigured set of MPV shaders and configurations for MPV Shim media clients.";
|
||||
homepage = "https://github.com/iwalton3/default-shader-pack";
|
||||
license = licenses.gpl3;
|
||||
maintainers = [ ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user