yaziPlugins.vcs-files: init at 25.3.7-unstable-2025-03-07
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user