nixos-config/packages/misc/video/anime4k/default.nix

26 lines
634 B
Nix
Raw Permalink Normal View History

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";
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 = "https://bloc97.github.io/Anime4K/";
2021-08-22 19:11:00 +00:00
license = licenses.mit;
maintainers = [ ];
platforms = platforms.all;
2021-08-22 19:11:00 +00:00
};
}