2021-11-01 21:12:21 +00:00
|
|
|
{ stdenv, lib, fetchFromGitHub }:
|
2021-08-22 19:11:00 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "Anime4k";
|
2021-11-01 21:12:21 +00:00
|
|
|
version = "4.0.1";
|
2021-08-22 19:11:00 +00:00
|
|
|
|
2021-11-01 21:12:21 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "bloc97";
|
2021-11-01 20:33:21 +00:00
|
|
|
repo = "anime4k";
|
2021-11-01 21:12:21 +00:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1gc1ka9i7xzxq58175q5svhvp8vr27hy477r4z4nkhp9q1cqj19r";
|
2021-08-22 19:11:00 +00:00
|
|
|
};
|
2021-11-01 21:12:21 +00:00
|
|
|
|
2021-08-22 19:11:00 +00:00
|
|
|
installPhase = ''
|
|
|
|
find ./glsl/ -type f -iname '*.glsl' -exec install -Dm 644 {} -t $out/usr/share/shaders/ \;
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A High-Quality Real Time Upscaler for Anime Video ";
|
|
|
|
homepage = "A High-Quality Real Time Upscaler for Anime Video ";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|