mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 17:03:01 +00:00
anime4k: init at 4.0.1
This commit is contained in:
parent
205f70b7fb
commit
9beb1bbd61
32
pkgs/by-name/an/anime4k/package.nix
Normal file
32
pkgs/by-name/an/anime4k/package.nix
Normal file
@ -0,0 +1,32 @@
|
||||
{ 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;
|
||||
};
|
||||
})
|
Loading…
Reference in New Issue
Block a user