depot/third_party/nixpkgs/pkgs/by-name/an/anime4k/package.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

32 lines
677 B
Nix

{ fetchFromGitHub
, lib
, stdenvNoCC
}:
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "anime4k";
version = "4.0.1";
src = fetchFromGitHub {
owner = "bloc97";
repo = "Anime4k";
rev = "v${finalAttrs.version}";
hash = "sha256-OQWJWcDpwmnJJ/kc4uEReaO74dYFlxNQwf33E5Oagb0=";
};
installPhase = ''
runHook preInstall
install -Dm644 glsl/*/*.glsl -t $out
runHook postInstall
'';
meta = with lib; {
description = "High-quality real time upscaler for anime";
homepage = "https://github.com/bloc97/Anime4K";
license = licenses.mit;
maintainers = with maintainers; [ surfaceflinger ];
platforms = platforms.all;
};
})