yaziPlugins.vcs-files: init at 25.3.7-unstable-2025-03-07

This commit is contained in:
Austin Horstman
2025-04-08 18:17:23 -05:00
parent 3b13b73f16
commit 7304dc8969
@@ -0,0 +1,35 @@
{
lib,
stdenvNoCC,
fetchFromGitHub,
}:
stdenvNoCC.mkDerivation {
pname = "vcs-files.yazi";
version = "25.3.7-unstable-2025-03-07";
src = fetchFromGitHub {
owner = "yazi-rs";
repo = "plugins";
rev = "273019910c1111a388dd20e057606016f4bd0d17";
hash = "sha256-80mR86UWgD11XuzpVNn56fmGRkvj0af2cFaZkU8M31I=";
};
# NOTE: License is a relative symbolic link
# We remove the link and copy the true license
installPhase = ''
runHook preInstall
cp -r vcs-files.yazi $out
rm $out/LICENSE
cp LICENSE $out
runHook postInstall
'';
meta = {
description = "Previewing archive contents with vcs-files";
homepage = "https://yazi-rs.github.io";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ khaneliman ];
};
}