depot/third_party/nixpkgs/pkgs/by-name/an/anime4k/package.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

32 lines
679 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 = "A high-quality real time upscaler for anime";
homepage = "https://github.com/bloc97/Anime4K";
license = licenses.mit;
maintainers = with maintainers; [ surfaceflinger ];
platforms = platforms.all;
};
})