yaziPlugins.lsar: init at 25.2.26-unstable-2025-03-02
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
{
|
||||
lib,
|
||||
stdenvNoCC,
|
||||
fetchFromGitHub,
|
||||
}:
|
||||
stdenvNoCC.mkDerivation {
|
||||
pname = "lsar.yazi";
|
||||
version = "25.2.26-unstable-2025-03-02";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "yazi-rs";
|
||||
repo = "plugins";
|
||||
rev = "b44c245500b34e713732a9130bf436b13b4777e9";
|
||||
hash = "sha256-nZ8yfnKvNLM5aA+mmQ3PkfM5lwSKwWnkQewcg9GwseI=";
|
||||
};
|
||||
|
||||
# NOTE: License is a relative symbolic link
|
||||
# We remove the link and copy the true license
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
cp -r lsar.yazi $out
|
||||
rm $out/LICENSE
|
||||
cp LICENSE $out
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Previewing archive contents with lsar";
|
||||
homepage = "https://yazi-rs.github.io";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ khaneliman ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user